Commit 490daf4e authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] Fix floppy.h

CROSS_64KB won't work as advertised due to missing parenthesis.

Pointed out by Joern Engel.
parent 6d6f972f
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
* floppy accesses go through the track buffer. * floppy accesses go through the track buffer.
*/ */
#define _CROSS_64KB(a,s,vdma) \ #define _CROSS_64KB(a,s,vdma) \
(!vdma && ((unsigned long)(a)/K_64 != ((unsigned long)(a) + (s) - 1) / K_64)) (!(vdma) && ((unsigned long)(a)/K_64 != ((unsigned long)(a) + (s) - 1) / K_64))
#define CROSS_64KB(a,s) _CROSS_64KB(a,s,use_virtual_dma & 1) #define CROSS_64KB(a,s) _CROSS_64KB(a,s,use_virtual_dma & 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment