Convert to generic boolean
Signed-off-by: Richard Knutsson <[email protected]>
---
Compile-tested but most arch/conf tested failed for other reasons then this
Diffed against Linus' git-tree.
ps2esdi.c | 8 ++++----
z2ram.c | 3 ---
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/drivers/block/ps2esdi.c b/drivers/block/ps2esdi.c
index 688a4fb..96b40bc 100644
--- a/drivers/block/ps2esdi.c
+++ b/drivers/block/ps2esdi.c
@@ -94,7 +94,7 @@ static u_int dma_arb_level; /* DMA arbitration level */
static DECLARE_WAIT_QUEUE_HEAD(ps2esdi_int);
-static int no_int_yet;
+static bool no_int_yet;
static int ps2esdi_drives;
static u_short io_base;
static DEFINE_TIMER(esdi_timer, ps2esdi_reset_timer, 0, 0);
@@ -455,7 +455,7 @@ static void __init ps2esdi_get_device_cfg(void)
current_int_handler = ps2esdi_geometry_int_handler;
cmd_blk[0] = CMD_GET_DEV_CONFIG | 0x600;
cmd_blk[1] = 0;
- no_int_yet = TRUE;
+ no_int_yet = true;
ps2esdi_out_cmd_blk(cmd_blk);
if (no_int_yet)
sleep_on(&ps2esdi_int);
@@ -464,7 +464,7 @@ static void __init ps2esdi_get_device_cfg(void)
printk("%s: Drive 1\n", DEVICE_NAME); /*BA */
cmd_blk[0] = CMD_GET_DEV_CONFIG | (1 << 5) | 0x600;
cmd_blk[1] = 0;
- no_int_yet = TRUE;
+ no_int_yet = true;
ps2esdi_out_cmd_blk(cmd_blk);
if (no_int_yet)
sleep_on(&ps2esdi_int);
@@ -843,7 +843,7 @@ static void ps2esdi_geometry_int_handler(u_int int_ret_code)
}
wake_up(&ps2esdi_int);
- no_int_yet = FALSE;
+ no_int_yet = false;
outb(CTRL_ENABLE_INTR, ESDI_CONTROL);
}
diff --git a/drivers/block/z2ram.c b/drivers/block/z2ram.c
index 7cc2685..2abf94c 100644
--- a/drivers/block/z2ram.c
+++ b/drivers/block/z2ram.c
@@ -44,9 +44,6 @@
extern int m68k_realnum_memory;
extern struct mem_info m68k_memory[NUM_MEMINFO];
-#define TRUE (1)
-#define FALSE (0)
-
#define Z2MINOR_COMBINED (0)
#define Z2MINOR_Z2ONLY (1)
#define Z2MINOR_CHIPONLY (2)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]