summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSteven Cole <elenstev@mesatop.com>2003-05-12 05:56:54 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-12 05:56:54 -0700
commit1bdbda8c33e76c91d2f19e7c8c11f4df1b28d9cc (patch)
treee41c7eccdd6cb28e73e1533724ef79c510d9a1f2 /include/linux
parent3f26cc016374d9d7d5b83456b218c02c33233328 (diff)
[PATCH] Use '#ifdef' to test for CONFIG_xxx variables
Don't depend on undefined preprocessor symbols evaluating to zero.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/blkdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 4c53e7bbcc25..6e0fc430b428 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -304,7 +304,7 @@ extern unsigned long blk_max_low_pfn, blk_max_pfn;
#define BLK_BOUNCE_ANY ((u64)blk_max_pfn << PAGE_SHIFT)
#define BLK_BOUNCE_ISA (ISA_DMA_THRESHOLD)
-#if CONFIG_MMU
+#ifdef CONFIG_MMU
extern int init_emergency_isa_pool(void);
extern void blk_queue_bounce(request_queue_t *q, struct bio **bio);
#else