2.5.63 - more if/ifdef janitor work - include/asm-i386/*

2.5.63 - more if/ifdef janitor work - include/asm-i386/*

Post by Valdis.Kletni.. » Fri, 28 Feb 2003 21:40:19



Cleaning up include/asm-i386...

--- include/asm-i386/kmap_types.h.dist  2003-02-24 14:05:38.000000000 -0500

 #include <linux/config.h>

-#if CONFIG_DEBUG_HIGHMEM
+#ifdef CONFIG_DEBUG_HIGHMEM
 # define D(n) __KM_FENCE_##n ,
 #else
 # define D(n)
--- include/asm-i386/io.h.dist  2003-02-24 14:06:02.000000000 -0500

  * Temporary debugging check to catch old code using
  * unmapped ISA addresses. Will be removed in 2.4.
  */
-#if CONFIG_DEBUG_IOVIRT
+#ifdef CONFIG_DEBUG_IOVIRT
   extern void *__io_virt_debug(unsigned long x, const char *file, int line);
   #define __io_virt(x) __io_virt_debug((unsigned long)(x), __FILE__, __LINE__)
 #else
--- include/asm-i386/hardirq.h.dist     2003-02-24 14:05:39.000000000 -0500

 #define nmi_enter()            (irq_enter())
 #define nmi_exit()             (preempt_count() -= HARDIRQ_OFFSET)

-#if CONFIG_PREEMPT
+#ifdef CONFIG_PREEMPT
 # define in_atomic()   ((preempt_count() & ~PREEMPT_ACTIVE) != kernel_locked())
 # define IRQ_EXIT_OFFSET (HARDIRQ_OFFSET-1)
 #else

  application_pgp-signature_part
< 1K Download