diff options
author | Andi Kleen <ak@linux.intel.com> | 2013-08-05 18:02:46 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-08-06 17:20:56 -0400 |
commit | 9a55fdbe941e5cfb7a5c438db890a58dad82ef8e (patch) | |
tree | 273b7ee7e9c619d7d58ecdd018cabe37994413ce /arch/x86/xen | |
parent | 54c2f3fdb941204cad136024c7b854b7ad112ab6 (diff) |
x86, asmlinkage, paravirt: Add __visible/asmlinkage to xen paravirt ops
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1375740170-7446-13-git-send-email-andi@firstfloor.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r-- | arch/x86/xen/xen-ops.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h index 86782c5d7e2a..d380213cda25 100644 --- a/arch/x86/xen/xen-ops.h +++ b/arch/x86/xen/xen-ops.h | |||
@@ -105,9 +105,9 @@ static inline void __init xen_init_apic(void) | |||
105 | /* Declare an asm function, along with symbols needed to make it | 105 | /* Declare an asm function, along with symbols needed to make it |
106 | inlineable */ | 106 | inlineable */ |
107 | #define DECL_ASM(ret, name, ...) \ | 107 | #define DECL_ASM(ret, name, ...) \ |
108 | ret name(__VA_ARGS__); \ | 108 | asmlinkage ret name(__VA_ARGS__); \ |
109 | extern char name##_end[]; \ | 109 | extern char name##_end[] __visible; \ |
110 | extern char name##_reloc[] \ | 110 | extern char name##_reloc[] __visible |
111 | 111 | ||
112 | DECL_ASM(void, xen_irq_enable_direct, void); | 112 | DECL_ASM(void, xen_irq_enable_direct, void); |
113 | DECL_ASM(void, xen_irq_disable_direct, void); | 113 | DECL_ASM(void, xen_irq_disable_direct, void); |
@@ -115,11 +115,11 @@ DECL_ASM(unsigned long, xen_save_fl_direct, void); | |||
115 | DECL_ASM(void, xen_restore_fl_direct, unsigned long); | 115 | DECL_ASM(void, xen_restore_fl_direct, unsigned long); |
116 | 116 | ||
117 | /* These are not functions, and cannot be called normally */ | 117 | /* These are not functions, and cannot be called normally */ |
118 | void xen_iret(void); | 118 | asmlinkage void xen_iret(void); |
119 | void xen_sysexit(void); | 119 | asmlinkage void xen_sysexit(void); |
120 | void xen_sysret32(void); | 120 | asmlinkage void xen_sysret32(void); |
121 | void xen_sysret64(void); | 121 | asmlinkage void xen_sysret64(void); |
122 | void xen_adjust_exception_frame(void); | 122 | asmlinkage void xen_adjust_exception_frame(void); |
123 | 123 | ||
124 | extern int xen_panic_handler_init(void); | 124 | extern int xen_panic_handler_init(void); |
125 | 125 | ||