lkml.org 
[lkml]   [2003]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject2.5.63 - more if/ifdef janitor work - include/asm-i386/*
From
Date
Cleaning up include/asm-i386...

--- include/asm-i386/kmap_types.h.dist 2003-02-24 14:05:38.000000000 -0500
+++ include/asm-i386/kmap_types.h 2003-02-27 01:46:11.438439344 -0500
@@ -3,7 +3,7 @@

#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
+++ include/asm-i386/io.h 2003-02-27 01:47:22.532851712 -0500
@@ -49,7 +49,7 @@
* 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
+++ include/asm-i386/hardirq.h 2003-02-27 01:48:35.479353476 -0500
@@ -79,7 +79,7 @@
#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

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.025 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site