x86: UV: fix header struct usage
authorRandy Dunlap <randy.dunlap@oracle.com>
Sat, 31 Jan 2009 20:32:26 +0000 (12:32 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 12 Feb 2009 01:17:29 +0000 (17:17 -0800)
Impact: Fixes warning

Fix uv.h struct usage:

arch/x86/include/asm/uv/uv.h:16: warning: 'struct mm_struct' declared inside parameter list
arch/x86/include/asm/uv/uv.h:16: warning: its scope is only this definition or declaration, which is probably not what you want

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/uv/uv.h

index 8ac1d7e312f34a6c5c4e7324ace857e7ee75e040..8242bf96581252a56938b2de18d978141ee9e219 100644 (file)
@@ -3,6 +3,9 @@
 
 enum uv_system_type {UV_NONE, UV_LEGACY_APIC, UV_X2APIC, UV_NON_UNIQUE_APIC};
 
+struct cpumask;
+struct mm_struct;
+
 #ifdef CONFIG_X86_UV
 
 extern enum uv_system_type get_uv_system_type(void);