[prev in list] [next in list] [prev in thread] [next in thread]
List: git-commits-24
Subject: [PATCH] Fix floppy.h's CROSS_64KB()
From: Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date: 2003-02-26 20:23:53
[Download RAW message or body]
ChangeSet 1.989.6.6, 2003/02/26 17:23:53-03:00, rusty@rustcorp.com.au
[PATCH] Fix floppy.h's CROSS_64KB()
CROSS_64KB won't work as advertised.
Pointed out by Joern Engel.
# This patch includes the following deltas:
# ChangeSet 1.989.6.5 -> 1.989.6.6
# include/asm-i386/floppy.h 1.3 -> 1.4
#
floppy.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Nru a/include/asm-i386/floppy.h b/include/asm-i386/floppy.h
--- a/include/asm-i386/floppy.h Wed Feb 26 13:32:35 2003
+++ b/include/asm-i386/floppy.h Wed Feb 26 13:32:35 2003
@@ -22,7 +22,7 @@
* floppy accesses go through the track buffer.
*/
#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)
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-24" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic