From 035a2c711c1894690585fada42a62131477e8aa2 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Tue, 2 May 2006 10:41:25 +0100 Subject: [PATCH] --- yaml --- r: 27988 b: refs/heads/master c: 4f79c3ffc6e04623711e86cf9a0e09e4aad8cb36 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/compiler.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 716821679014..8f9fe2e4cbee 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2683e88413977a7f382106f8e8b3b684a597c761 +refs/heads/master: 4f79c3ffc6e04623711e86cf9a0e09e4aad8cb36 diff --git a/trunk/include/linux/compiler.h b/trunk/include/linux/compiler.h index f23d3c6fc2c0..1234be9024a2 100644 --- a/trunk/include/linux/compiler.h +++ b/trunk/include/linux/compiler.h @@ -78,6 +78,7 @@ extern void __chk_io_ptr(void __iomem *); #endif /* __ASSEMBLY__ */ +#ifdef __KERNEL__ /* * Allow us to mark functions as 'deprecated' and have gcc emit a nice * warning for each use, in hopes of speeding the functions removal. @@ -153,4 +154,5 @@ extern void __chk_io_ptr(void __iomem *); #define __always_inline inline #endif +#endif /* __KERNEL__ */ #endif /* __LINUX_COMPILER_H */