diff options
author | Juergen Gross <[email protected]> | 2018-02-21 10:42:32 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-02-26 08:43:21 +0100 |
commit | c46dacb75cd59a50a2380dcba5e7edf4fde86845 (patch) | |
tree | 3706bce047a6924c772f8605730dadec2f7e2f09 | |
parent | b17d9d1df3c33a4f1d2bf397e2257aecf9dc56d4 (diff) |
x86/boot: Make the x86_init noop functions static
Make the noop functions in x86_init.c static in case they are used
locally only.
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r-- | arch/x86/kernel/x86_init.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c index 9e4e994a4836..b8cff22a8785 100644 --- a/arch/x86/kernel/x86_init.c +++ b/arch/x86/kernel/x86_init.c @@ -26,11 +26,11 @@ void x86_init_noop(void) { } void __init x86_init_uint_noop(unsigned int unused) { } -int __init iommu_init_noop(void) { return 0; } -void iommu_shutdown_noop(void) { } -bool __init bool_x86_init_noop(void) { return false; } -void x86_op_int_noop(int cpu) { } -u64 u64_x86_init_noop(void) { return 0; } +static int __init iommu_init_noop(void) { return 0; } +static void iommu_shutdown_noop(void) { } +static bool __init bool_x86_init_noop(void) { return false; } +static void x86_op_int_noop(int cpu) { } +static u64 u64_x86_init_noop(void) { return 0; } /* * The platform setup functions are preset with the default functions |