summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClark Williams <williams@redhat.com>2011-11-14 15:39:37 -0600
committerClark Williams <williams@redhat.com>2011-11-14 15:39:37 -0600
commit5206da468fd47b7e07ffc374622b3ed13872bbc1 (patch)
tree2361bc8a503c32c52728a5c7938c6b334d16bef0
parent11f5ca564f927205b50cc32563238f52203214e6 (diff)
ifdef out include of atomic.hv3.2-rc1-rt1
Signed-off-by: Clark Williams <williams@redhat.com>
-rw-r--r--include/linux/sysctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index b01c79bb2c6a..26572649082b 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -25,7 +25,9 @@
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/compiler.h>
+#ifdef __KERNEL__
#include <linux/atomic.h>
+#endif
struct completion;