mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -tip] x86: apic/x2apic_cluster.c x86_cpu_to_logical_apicid should be static
@ 2009-04-11  7:25 Jaswinder Singh Rajput
  2009-04-12 10:39 ` [tip:x86/cleanups] " Jaswinder Singh Rajput
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jaswinder Singh Rajput @ 2009-04-11  7:25 UTC (permalink / raw)
  To: Ingo Molnar, x86 maintainers, Suresh Siddha, LKML

Impact: reduce kernel size a bit, avoid sparse warning

Fixes sparse warning:
  arch/x86/kernel/apic/x2apic_cluster.c:13:1: warning: symbol 'per_cpu__x86_cpu_to_logical_apicid' was not declared. Should it be static?

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
---
 arch/x86/kernel/apic/x2apic_cluster.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/apic/x2apic_cluster.c b/arch/x86/kernel/apic/x2apic_cluster.c
index 4a903e2..8e4cbb2 100644
--- a/arch/x86/kernel/apic/x2apic_cluster.c
+++ b/arch/x86/kernel/apic/x2apic_cluster.c
@@ -10,7 +10,7 @@
 #include <asm/apic.h>
 #include <asm/ipi.h>
 
-DEFINE_PER_CPU(u32, x86_cpu_to_logical_apicid);
+static DEFINE_PER_CPU(u32, x86_cpu_to_logical_apicid);
 
 static int x2apic_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
 {
-- 
1.6.0.6




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

end of thread, other threads:[~2009-04-12 11:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-11  7:25 [PATCH -tip] x86: apic/x2apic_cluster.c x86_cpu_to_logical_apicid should be static Jaswinder Singh Rajput
2009-04-12 10:39 ` [tip:x86/cleanups] " Jaswinder Singh Rajput
2009-04-12 10:51 ` [PATCH -tip] " Ingo Molnar
2009-04-12 11:47   ` Jaswinder Singh Rajput
2009-04-12 11:21 ` [tip:x86/cleanups] " Jaswinder Singh Rajput

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome