]> git.hungrycats.org Git - linux/commit
[PATCH] explicitly define PRD_ENTRIES to 256
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>
Thu, 26 Feb 2004 04:49:45 +0000 (20:49 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 26 Feb 2004 04:49:45 +0000 (20:49 -0800)
commit632c6868f29e299d61ff47788966fda6aac82b2e
treeba83b5da4eca7fb7eb361aa8dfc8a7aadf094169
parentaf59721c2bc9176c194d0e6a288d768499f9430c
[PATCH] explicitly define PRD_ENTRIES to 256

From: William Lee Irwin III <wli@holomorphy.com>

PRD_ENTRIES is specified to be precisely 256; on platforms where
PAGE_SIZE varies from 4KB the calculation in the current expression
defining it is inaccurate, which may cause crashes. This patch changes
it to the constant literal 256.
include/linux/ide.h