2.5.68-bk3 #if cleanup (7/6)

Valdis.Kletnieks@vt.edu
Tue, 22 Apr 2003 16:07:31 -0400


Yes, part 7 of 6. I missed two cases of '#if !CONFIG' that I've
changed to '#ifndef'

--- linux-2.5.68-bk3/include/linux/interrupt.h.dist 2003-04-22 13:57:47.000000000 -0400
+++ linux-2.5.68-bk3/include/linux/interrupt.h 2003-04-22 15:58:09.227201362 -0400
@@ -49,7 +49,7 @@
/*
* Temporary defines for UP kernels, until all code gets fixed.
*/
-#if !CONFIG_SMP
+#ifndef CONFIG_SMP
# define cli() local_irq_disable()
# define sti() local_irq_enable()
# define save_flags(x) local_save_flags(x)
--- linux-2.5.68-bk3/arch/ppc/kernel/process.c.dist 2003-04-22 15:59:37.172062542 -0400
+++ linux-2.5.68-bk3/arch/ppc/kernel/process.c 2003-04-22 16:00:00.026582008 -0400
@@ -550,7 +550,7 @@
++count;
sp = *(unsigned long *)sp;
}
-#if !CONFIG_KALLSYMS
+#ifndef CONFIG_KALLSYMS
if (count > 0)
printk("\n");
#endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/