* blkdev.h fixes
@ 2003-01-17 7:04 William Lee Irwin III
0 siblings, 0 replies; only message in thread
From: William Lee Irwin III @ 2003-01-17 7:04 UTC (permalink / raw)
To: akpm; +Cc: axboe, linux-kernel
Hmm, the last round used dma_addr_t, but it turns out the things
they're compared against are unconditionally u64.
===== include/linux/blkdev.h 1.94 vs edited =====
--- 1.94/include/linux/blkdev.h Tue Nov 19 17:13:41 2002
+++ edited/include/linux/blkdev.h Thu Jan 16 23:02:46 2003
@@ -287,8 +287,8 @@
* BLK_BOUNCE_ANY : don't bounce anything
* BLK_BOUNCE_ISA : bounce pages above ISA DMA boundary
*/
-#define BLK_BOUNCE_HIGH (blk_max_low_pfn << PAGE_SHIFT)
-#define BLK_BOUNCE_ANY (blk_max_pfn << PAGE_SHIFT)
+#define BLK_BOUNCE_HIGH ((u64)blk_max_low_pfn << PAGE_SHIFT)
+#define BLK_BOUNCE_ANY ((u64)blk_max_pfn << PAGE_SHIFT)
#define BLK_BOUNCE_ISA (ISA_DMA_THRESHOLD)
extern int init_emergency_isa_pool(void);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-17 6:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-17 7:04 blkdev.h fixes William Lee Irwin III
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox