Messages in this thread Patch in this message | | | From | Darshana Padmadas <> | Subject | [PATCH 13/16] arch: x86: xen: Add prototype for xen_start_kernel in enlighten.c | Date | Wed, 4 Mar 2015 19:02:15 +0530 |
| |
enlighten.c defines xen_start_kernel which is used only in this file and is not defined in any header file. So add a proto- type for the same above the function definition.
This satisfies the -Wmissing-prototypes gcc warning: arch/x86/xen/enlighten.c:1534:34: warning: no previous prototype for ‘xen_start_kernel’ [-Wmissing-prototypes]
Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com> --- arch/x86/xen/enlighten.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 78a881b..4061672 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -1531,6 +1531,8 @@ static void __init xen_pvh_early_guest_init(void) #endif /* CONFIG_XEN_PVH */ /* First C function to be called on Xen boot */ +asmlinkage __visible void __init xen_start_kernel(void); + asmlinkage __visible void __init xen_start_kernel(void) { struct physdev_set_iopl set_iopl; -- 1.9.1
| |