[PATCH -mmotm/fold] UV: fix header struct usage

From: Randy Dunlap
Date: Sat Jan 31 2009 - 15:32:57 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

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@xxxxxxxxxx>
---
arch/x86/include/asm/uv/uv.h | 3 +++
1 file changed, 3 insertions(+)

--- mmotm-2009-0131-0108.orig/arch/x86/include/asm/uv/uv.h
+++ mmotm-2009-0131-0108/arch/x86/include/asm/uv/uv.h
@@ -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);
--
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/