[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    [PATCH -mmotm/fold] UV: fix header struct usage
From:       Randy Dunlap <randy.dunlap () oracle ! com>
Date:       2009-01-31 20:32:26
Message-ID: 4984B55A.7060503 () oracle ! com
[Download RAW message or body]

From: Randy Dunlap <randy.dunlap@oracle.com>

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>
---
 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic