summaryrefslogtreecommitdiffstats
path: root/include/asm-i386
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2007-08-15 02:40:34 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-08-18 10:25:25 -0700
commit8154549cb8ca795cbefda404cd6120398e5b145f (patch)
treea4538b4ee409403582d80aa02b509b7c92dc299c /include/asm-i386
parent1a2b73302aacddf2543f9d7a25936e4323fa1486 (diff)
downloadop-kernel-dev-8154549cb8ca795cbefda404cd6120398e5b145f.zip
op-kernel-dev-8154549cb8ca795cbefda404cd6120398e5b145f.tar.gz
x86_64: Fail dma_alloc_coherent on dma less devices
This should fix an oops with PCMCIA PATA devices http://bugzilla.kernel.org/show_bug.cgi?id=8424 This is not a full fix for the problem, but probably still the right thing to do. [ I'm almost certain it's *not* the right thing to do, but it avoids an oops, and I want comments from others on what the right thing would actually be.. I suspect we should just remove the use of dma_mask entirely in this function, and just use coherent_dma_mask. - Linus ] Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-i386')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud