/[pkg-src]/tags/kernel26-xen-2_6_25_r1-fedora9-patches/kernel26-xen/patches-2.6.25-r1/1055-2.6.25-xen-DEBUG-Add-xprintk-debugging-printk-prototype-to-hvc.patch |
Contents of /tags/kernel26-xen-2_6_25_r1-fedora9-patches/kernel26-xen/patches-2.6.25-r1/1055-2.6.25-xen-DEBUG-Add-xprintk-debugging-printk-prototype-to-hvc.patch
Parent Directory | Revision Log
Revision 608 -
(show annotations)
(download)
Fri May 23 12:17:32 2008 UTC (16 years ago) by (unknown author)
File size: 1093 byte(s)
Fri May 23 12:17:32 2008 UTC (16 years ago) by (unknown author)
File size: 1093 byte(s)
This commit was manufactured by cvs2svn to create tag 'kernel26-xen-2_6_25_r1-fedora9-patches'.
1 | From f2a04165bfe4406a0d1b12db37d133f7ab3cc102 Mon Sep 17 00:00:00 2001 |
2 | From: Stephen Tweedie <sct@redhat.com> |
3 | Date: Tue, 27 Nov 2007 12:56:49 +0000 |
4 | Subject: [PATCH] DEBUG: Add xprintk debugging-printk prototype to hvc-console.h. |
5 | |
6 | Signed-off-by: Stephen Tweedie <sct@redhat.com> |
7 | --- |
8 | arch/x86/xen/enlighten.c | 1 + |
9 | include/xen/hvc-console.h | 1 + |
10 | 2 files changed, 2 insertions(+), 0 deletions(-) |
11 | |
12 | diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c |
13 | index b091b1c..a676a23 100644 |
14 | --- a/arch/x86/xen/enlighten.c |
15 | +++ b/arch/x86/xen/enlighten.c |
16 | @@ -33,6 +33,7 @@ |
17 | #include <xen/interface/sched.h> |
18 | #include <xen/features.h> |
19 | #include <xen/page.h> |
20 | +#include <xen/hvc-console.h> |
21 | |
22 | #include <asm/paravirt.h> |
23 | #include <asm/page.h> |
24 | diff --git a/include/xen/hvc-console.h b/include/xen/hvc-console.h |
25 | index 21c0ecf..cb7a3c9 100644 |
26 | --- a/include/xen/hvc-console.h |
27 | +++ b/include/xen/hvc-console.h |
28 | @@ -2,5 +2,6 @@ |
29 | #define XEN_HVC_CONSOLE_H |
30 | |
31 | extern struct console xenboot_console; |
32 | +extern asmlinkage int xprintk(const char *fmt, ...); |
33 | |
34 | #endif /* XEN_HVC_CONSOLE_H */ |
35 | -- |
36 | 1.5.4.1 |
37 |