diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-04-30 03:55:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:54 -0400 |
commit | 735643ee6cc5249bfac07fcad0946a5e7aff4423 (patch) | |
tree | e725df246f4a3cf88b6b42a28d859ab969acf81c /include/linux/rcupdate.h | |
parent | 71cc2c2152170b8166f59abb0604dc62073aeb92 (diff) |
Remove "#ifdef __KERNEL__" checks from unexported headers
Remove the "#ifdef __KERNEL__" tests from unexported header files in
linux/include whose entire contents are wrapped in that preprocessor
test.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/rcupdate.h')
-rw-r--r-- | include/linux/rcupdate.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 37a642c54871..8082d6587a0f 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h | |||
@@ -33,8 +33,6 @@ | |||
33 | #ifndef __LINUX_RCUPDATE_H | 33 | #ifndef __LINUX_RCUPDATE_H |
34 | #define __LINUX_RCUPDATE_H | 34 | #define __LINUX_RCUPDATE_H |
35 | 35 | ||
36 | #ifdef __KERNEL__ | ||
37 | |||
38 | #include <linux/cache.h> | 36 | #include <linux/cache.h> |
39 | #include <linux/spinlock.h> | 37 | #include <linux/spinlock.h> |
40 | #include <linux/threads.h> | 38 | #include <linux/threads.h> |
@@ -245,5 +243,4 @@ extern long rcu_batches_completed_bh(void); | |||
245 | extern void rcu_init(void); | 243 | extern void rcu_init(void); |
246 | extern int rcu_needs_cpu(int cpu); | 244 | extern int rcu_needs_cpu(int cpu); |
247 | 245 | ||
248 | #endif /* __KERNEL__ */ | ||
249 | #endif /* __LINUX_RCUPDATE_H */ | 246 | #endif /* __LINUX_RCUPDATE_H */ |