]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/rcuclassic.h
netfilter: nf_conntrack_sip: restrict RTP expect flushing on error to last request
[linux-2.6-omap-h63xx.git] / include / linux / rcuclassic.h
index 4d6624260b4c241e7f6299ea6396642e26b400ca..b3aa05baab8ac439a569936e0d5bf60135f81fab 100644 (file)
@@ -33,8 +33,6 @@
 #ifndef __LINUX_RCUCLASSIC_H
 #define __LINUX_RCUCLASSIC_H
 
-#ifdef __KERNEL__
-
 #include <linux/cache.h>
 #include <linux/spinlock.h>
 #include <linux/threads.h>
@@ -160,5 +158,7 @@ extern void rcu_restart_cpu(int cpu);
 extern long rcu_batches_completed(void);
 extern long rcu_batches_completed_bh(void);
 
-#endif /* __KERNEL__ */
+#define rcu_enter_nohz()       do { } while (0)
+#define rcu_exit_nohz()                do { } while (0)
+
 #endif /* __LINUX_RCUCLASSIC_H */