summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2003-05-12 09:01:03 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-12 09:01:03 -0700
commit8cf04c0a7e6175522cdfea21805afdf88d3fc5f9 (patch)
tree87a50ad72b4a2eb3b21226c11a1edaaef221aa98
parent35d60f7f047627fbd19df0241878ea38192b75ab (diff)
parent9e589513f577b3138a10b84686d429620134058e (diff)
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
-rw-r--r--arch/i386/kernel/dmi_scan.c2
-rw-r--r--arch/parisc/hpux/wrappers.S2
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx_osm.c3
-rw-r--r--include/linux/smp_lock.h2
-rw-r--r--include/linux/tpqic02.h2
5 files changed, 4 insertions, 7 deletions
diff --git a/arch/i386/kernel/dmi_scan.c b/arch/i386/kernel/dmi_scan.c
index 8de1c6dd2d5a..f4c757e2d9ba 100644
--- a/arch/i386/kernel/dmi_scan.c
+++ b/arch/i386/kernel/dmi_scan.c
@@ -841,7 +841,7 @@ static __initdata struct dmi_blacklist dmi_blacklist[]={
{ acer_cpufreq_pst, "Acer Aspire", {
MATCH(DMI_SYS_VENDOR, "Insyde Software"),
MATCH(DMI_BIOS_VERSION, "3A71"),
- NO_MATCH, NO_MATCH, NO_MATCH
+ NO_MATCH, NO_MATCH,
} },
{ NULL, }
diff --git a/arch/parisc/hpux/wrappers.S b/arch/parisc/hpux/wrappers.S
index c9322351a85c..6f26159bed61 100644
--- a/arch/parisc/hpux/wrappers.S
+++ b/arch/parisc/hpux/wrappers.S
@@ -129,7 +129,7 @@ fork_exit:
/* Set the return value for the child */
hpux_child_return:
-#if CONFIG_SMP || CONFIG_PREEMPT
+#if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT)
bl schedule_tail, %r2
nop
#endif
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c
index ed22493de98b..5ac00923168d 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_osm.c
+++ b/drivers/scsi/aic7xxx/aic7xxx_osm.c
@@ -404,9 +404,6 @@ static int aic7xxx_pci_parity = 0;
* would result in never finding any devices :)
*/
#ifndef CONFIG_AIC7XXX_PROBE_EISA_VL
-#define CONFIG_AIC7XXX_PROBE_EISA_VL n
-#endif
-#if CONFIG_AIC7XXX_PROBE_EISA_VL == n
static int aic7xxx_no_probe = 1;
#else
static int aic7xxx_no_probe;
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>