Re: [2.6 patch] i386 mpparse.c: make MP_processor_info static

From: Andrey Panin
Date: Mon Dec 06 2004 - 08:10:26 EST


On 341, 12 06, 2004 at 01:41:33AM +0100, Adrian Bunk wrote:
> The patch below makes a needlessly global function static.

Looks good.

> 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 <bunk@xxxxxxxxx>
>
> --- linux-2.6.10-rc2-mm4-full/arch/i386/mach-visws/mpparse.c.old 2004-12-06 01:19:45.000000000 +0100
> +++ linux-2.6.10-rc2-mm4-full/arch/i386/mach-visws/mpparse.c 2004-12-06 01:19:54.000000000 +0100
> @@ -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;
> --- linux-2.6.10-rc2-mm4-full/arch/i386/kernel/mpparse.c.old 2004-12-06 01:20:02.000000000 +0100
> +++ linux-2.6.10-rc2-mm4-full/arch/i386/kernel/mpparse.c 2004-12-06 01:20:07.000000000 +0100
> @@ -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 majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

--
Andrey Panin | Linux and UNIX system administrator
pazke@xxxxxxxxx | PGP key: wwwkeys.pgp.net

Attachment: signature.asc
Description: Digital signature