Skip to contentSkip to conversation

x86: bios_uv.c uv_systab should be static

PATCH New Jaswinder Singh Rajput 1 participant 1 message Dec 29, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: bios_uv.c uv_systab should be static

Impact: cleanup, reduce kernel size a bit, avoid sparse warning

Fixes sparse warning:
arch/x86/kernel/bios_uv.c:28:18: warning: symbol 'uv_systab' was not declared. Should it be static?

---
 arch/x86/kernel/bios_uv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/bios_uv.c +1 -1
index 2a0a2a3..f638827 100644
@@ -25,7 +25,7 @@
 #include <asm/uv/bios.h>
 #include <asm/uv/uv_hub.h>
 
-struct uv_systab uv_systab;
+static struct uv_systab uv_systab;
 
 s64 uv_bios_call(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, u64 a4, u64 a5)
 {
Signature · 1 line
1.5.5.1