Commit 9b87a519 authored by Steven Cole's avatar Steven Cole Committed by Linus Torvalds

[PATCH] more potentially undefined preprocessor symbols

Here are three more fixes which I missed in the previous patch.
parent 1bdbda8c
...@@ -129,7 +129,7 @@ fork_exit: ...@@ -129,7 +129,7 @@ fork_exit:
/* Set the return value for the child */ /* Set the return value for the child */
hpux_child_return: hpux_child_return:
#if CONFIG_SMP || CONFIG_PREEMPT #if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT)
bl schedule_tail, %r2 bl schedule_tail, %r2
nop nop
#endif #endif
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#if CONFIG_SMP || CONFIG_PREEMPT #if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT)
extern spinlock_t kernel_flag; extern spinlock_t kernel_flag;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <linux/config.h> #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 */ /* need to have QIC02_TAPE_DRIVE and QIC02_TAPE_IFC expand to something */
#include <linux/mtio.h> #include <linux/mtio.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment