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

From: Jaswinder Singh Rajput
Date: Thu Jun 04 2009 - 08:41:53 EST



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@xxxxxxxxx>
---
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



--
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/