summaryrefslogtreecommitdiffstats
path: root/include/linux/hardirq.h
diff options
context:
space:
mode:
authorLinus Torvalds2010-11-18 03:36:25 +0100
committerLinus Torvalds2010-11-18 03:36:25 +0100
commit0a5b871ea4c6bfb2723ac2ffc7ef5c32452abb89 (patch)
treebaff02a887202414fd34bf7deacb0d1d527ede60 /include/linux/hardirq.h
parentFix build failure due to hwirq.h needing smp_lock.h (diff)
downloadkernel-qcow2-linux-0a5b871ea4c6bfb2723ac2ffc7ef5c32452abb89.tar.gz
kernel-qcow2-linux-0a5b871ea4c6bfb2723ac2ffc7ef5c32452abb89.tar.xz
kernel-qcow2-linux-0a5b871ea4c6bfb2723ac2ffc7ef5c32452abb89.zip
hardirq.h: remove now-empty #ifdef/#endif pair
Commit 451a3c24b013 ("BKL: remove extraneous #include <smp_lock.h>") removed the #include line that was the only thing that was surrounded by the #ifdef/#endif. So now that #ifdef is guarding nothing at all. Just remove it. Reported-by: Byeong-ryeol Kim <brofkims@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/hardirq.h')
-rw-r--r--include/linux/hardirq.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/hardirq.h b/include/linux/hardirq.h
index bea1612d8f5c..714da7e5d10c 100644
--- a/include/linux/hardirq.h
+++ b/include/linux/hardirq.h
@@ -2,8 +2,6 @@
#define LINUX_HARDIRQ_H
#include <linux/preempt.h>
-#ifdef CONFIG_PREEMPT
-#endif
#include <linux/lockdep.h>
#include <linux/ftrace_irq.h>
#include <asm/hardirq.h>