[PATCH] add prototype of guest_cpu_user_regs()

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] add prototype of guest_cpu_user_regs()

Isaku Yamahata

add prototype of guest_cpu_user_regs() which is used by ns16550_poll().
Without this prototype, ns16550_poll() can't be compiled corretly
resulting in cause xen panic with key handler 'd'.


# HG changeset patch
# User [hidden email]
# Node ID 45fdc28bd5e0dd1eb551d5004ea3cae72bd76f5a
# Parent  1507c5499a92a7701db9cc3b0bf9ac5fb3fa8ee2
add prototype of guest_cpu_user_regs() which is used by ns16550_poll().

Signed-off-by: Isaku Yamahata <[hidden email]>

diff -r 1507c5499a92 -r 45fdc28bd5e0 xen/include/asm-ia64/linux-xen/asm/ptrace.h
--- a/xen/include/asm-ia64/linux-xen/asm/ptrace.h Fri Jan  6 12:39:28 2006 -0600
+++ b/xen/include/asm-ia64/linux-xen/asm/ptrace.h Tue Jan 10 15:46:24 2006 +0900
@@ -110,6 +110,7 @@
   return (struct cpu_user_regs *) ((unsigned long) v + IA64_STK_OFFSET) - 1;
 }
 
+struct pt_regs *guest_cpu_user_regs(void);
 
 #else
 struct pt_regs {
Reply-To:

--
yamahata

_______________________________________________
Xen-ia64-devel mailing list
[hidden email]
http://lists.xensource.com/xen-ia64-devel

8476:45fdc28bd5e0.patch (718 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: [PATCH] add prototype of guest_cpu_user_regs()

Dan Magenheimer
Committed.

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf
> Of Isaku Yamahata
> Sent: Tuesday, January 10, 2006 12:24 AM
> To: [hidden email]
> Subject: [Xen-ia64-devel] [PATCH] add prototype of
> guest_cpu_user_regs()
>
>
> add prototype of guest_cpu_user_regs() which is used by
> ns16550_poll().
> Without this prototype, ns16550_poll() can't be compiled corretly
> resulting in cause xen panic with key handler 'd'.
>
>
> # HG changeset patch
> # User [hidden email]
> # Node ID 45fdc28bd5e0dd1eb551d5004ea3cae72bd76f5a
> # Parent  1507c5499a92a7701db9cc3b0bf9ac5fb3fa8ee2
> add prototype of guest_cpu_user_regs() which is used by
> ns16550_poll().
>
> Signed-off-by: Isaku Yamahata <[hidden email]>
>
> diff -r 1507c5499a92 -r 45fdc28bd5e0
> xen/include/asm-ia64/linux-xen/asm/ptrace.h
> --- a/xen/include/asm-ia64/linux-xen/asm/ptrace.h Fri Jan
>  6 12:39:28 2006 -0600
> +++ b/xen/include/asm-ia64/linux-xen/asm/ptrace.h Tue Jan
> 10 15:46:24 2006 +0900
> @@ -110,6 +110,7 @@
>    return (struct cpu_user_regs *) ((unsigned long) v +
> IA64_STK_OFFSET) - 1;
>  }
>  
> +struct pt_regs *guest_cpu_user_regs(void);
>  
>  #else
>  struct pt_regs {
> Reply-To:
>
> --
> yamahata
>

_______________________________________________
Xen-ia64-devel mailing list
[hidden email]
http://lists.xensource.com/xen-ia64-devel