diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/blkdev.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index b3a58adc4352..c5065e3d2ca9 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -535,8 +535,13 @@ extern unsigned long blk_max_low_pfn, blk_max_pfn; | |||
535 | * BLK_BOUNCE_ANY : don't bounce anything | 535 | * BLK_BOUNCE_ANY : don't bounce anything |
536 | * BLK_BOUNCE_ISA : bounce pages above ISA DMA boundary | 536 | * BLK_BOUNCE_ISA : bounce pages above ISA DMA boundary |
537 | */ | 537 | */ |
538 | |||
539 | #if BITS_PER_LONG == 32 | ||
538 | #define BLK_BOUNCE_HIGH ((u64)blk_max_low_pfn << PAGE_SHIFT) | 540 | #define BLK_BOUNCE_HIGH ((u64)blk_max_low_pfn << PAGE_SHIFT) |
539 | #define BLK_BOUNCE_ANY ((u64)blk_max_pfn << PAGE_SHIFT) | 541 | #else |
542 | #define BLK_BOUNCE_HIGH -1ULL | ||
543 | #endif | ||
544 | #define BLK_BOUNCE_ANY (-1ULL) | ||
540 | #define BLK_BOUNCE_ISA (ISA_DMA_THRESHOLD) | 545 | #define BLK_BOUNCE_ISA (ISA_DMA_THRESHOLD) |
541 | 546 | ||
542 | /* | 547 | /* |