linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] i386 mpparse.c: make MP_processor_info static
@ 2004-12-06  0:41 Adrian Bunk
  2004-12-06 13:08 ` Andrey Panin
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2004-12-06  0:41 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel, pazke, linux-visws-devel

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 <bunk@stusta.de>

--- 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;


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] i386 mpparse.c: make MP_processor_info static
  2004-12-06  0:41 [2.6 patch] i386 mpparse.c: make MP_processor_info static Adrian Bunk
@ 2004-12-06 13:08 ` Andrey Panin
  0 siblings, 0 replies; 2+ messages in thread
From: Andrey Panin @ 2004-12-06 13:08 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1644 bytes --]

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@stusta.de>
> 
> --- 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@vger.kernel.org
> 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@donpac.ru		| PGP key: wwwkeys.pgp.net

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-06 13:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-06  0:41 [2.6 patch] i386 mpparse.c: make MP_processor_info static Adrian Bunk
2004-12-06 13:08 ` Andrey Panin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).