summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteven Cole <elenstev@mesatop.com>2003-05-12 07:31:01 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-12 07:31:01 -0700
commit9b87a519169800ab6b9becbaf51051ffb006ddb9 (patch)
treefa18e73de73cbc4ec71d4dd9c92e91743522057e /include
parent1bdbda8c33e76c91d2f19e7c8c11f4df1b28d9cc (diff)
[PATCH] more potentially undefined preprocessor symbols
Here are three more fixes which I missed in the previous patch.
Diffstat (limited to 'include')
-rw-r--r--include/linux/smp_lock.h2
-rw-r--r--include/linux/tpqic02.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/smp_lock.h b/include/linux/smp_lock.h
index 5a0b83a677d9..80fbd56eb3e4 100644
--- a/include/linux/smp_lock.h
+++ b/include/linux/smp_lock.h
@@ -5,7 +5,7 @@
#include <linux/sched.h>
#include <linux/spinlock.h>
-#if CONFIG_SMP || CONFIG_PREEMPT
+#if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT)
extern spinlock_t kernel_flag;
diff --git a/include/linux/tpqic02.h b/include/linux/tpqic02.h
index 2972cb2f827c..f980d4ff01fe 100644
--- a/include/linux/tpqic02.h
+++ b/include/linux/tpqic02.h
@@ -12,7 +12,7 @@
#include <linux/config.h>
-#if CONFIG_QIC02_TAPE || CONFIG_QIC02_TAPE_MODULE
+#if defined(CONFIG_QIC02_TAPE) || defined(CONFIG_QIC02_TAPE_MODULE)
/* need to have QIC02_TAPE_DRIVE and QIC02_TAPE_IFC expand to something */
#include <linux/mtio.h>