i386 mpparse.c: make MP_processor_info static
PATCH 1/1 i386 mpparse.c: make MP_processor_info static
The patch below makes a needlessly global function static.
diffstat output:
arch/i386/kernel/mpparse.c | 2 +- arch/i386/mach-visws/mpparse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Signed-off-by Adrian Bunk <[email protected]>
arch/i386/mach-visws/mpparse.c renamed from arch/i386/mach-visws/mpparse.c.old +1 -1
@@ -36,7 +36,7 @@* No problem for Linux. */ -void __init MP_processor_info (struct mpc_config_processor *m) +static void __init MP_processor_info (struct mpc_config_processor *m) {int ver, logical_apicid;physid_mask_t apic_cpus;
arch/i386/kernel/mpparse.c renamed from arch/i386/kernel/mpparse.c.old +1 -1
@@ -119,7 +119,7 @@ }#endif -void __init MP_processor_info (struct mpc_config_processor *m) +static void __init MP_processor_info (struct mpc_config_processor *m) {int ver, apicid;physid_mask_t tmp;
Quoted 1 line · Adrian Bunk
The patch below makes a needlessly global function static.
Looks good.
Quoted 37 lines
diffstat output:
arch/i386/kernel/mpparse.c | 2 +- arch/i386/mach-visws/mpparse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)Signed-off-by Adrian Bunk <[email protected]>arch/i386/mach-visws/mpparse.c renamed from arch/i386/mach-visws/mpparse.c.old +1
-1@@ -36,7 +36,7 @@* No problem for Linux. */ -void __init MP_processor_info (struct mpc_config_processor *m) +static void __init MP_processor_info (struct mpc_config_processor *m) {int ver, logical_apicid;physid_mask_t apic_cpus;arch/i386/kernel/mpparse.c renamed from arch/i386/kernel/mpparse.c.old +1
-2@@ -119,7 +119,7 @@ }#endif -void __init MP_processor_info (struct mpc_config_processor *m) +static void __init MP_processor_info (struct mpc_config_processor *m) {int ver, apicid;physid_mask_t tmp; -To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 2 lines
Andrey Panin | Linux and UNIX system administrator [email protected] | PGP key: wwwkeys.pgp.net