[PATCH 2/6] headers_check fix: ia64, fpswa.h

Jaswinder Singh Rajput
2009-06-04T12:41:48Z

fix the following 'make headers_check' warning:

usr/include/asm-ia64/fpswa.h:71: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
---
arch/ia64/include/asm/fpswa.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/ia64/include/asm/fpswa.h b/arch/ia64/include/asm/fpswa.h
index 62edfce..797b064 100644
--- a/arch/ia64/include/asm/fpswa.h
+++ b/arch/ia64/include/asm/fpswa.h
@@ -68,6 +68,7 @@ typedef struct {
efi_fpswa_t fpswa;
} fpswa_interface_t;

+#ifdef __KERNEL__
extern fpswa_interface_t *fpswa_interface;
-
+#endif
#endif /* _ASM_IA64_FPSWA_H */
--
1.6.0.6