]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Fix AGP compile on non-x86 architectures
authorLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 22:56:00 +0000 (14:56 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 22:56:00 +0000 (14:56 -0800)
commit6730c3c14421b7c924d06e31bb66e0adad225547
treee46448ce7930756b6ca2fb45104bc95b874c6a39
parent969780f8079994f161de991870feba68f49fc3d7
Fix AGP compile on non-x86 architectures

AGP shouldn't use "global_flush_tlb()" to flush the AGP mappings, that i
spurely an x86'ism.  The proper AGP mapping flusher that should be used
is "flush_agp_mappings()", which on x86 obviously happens to do a global
TLB flush.

This makes AGP (or at least the config _I_ happen to use) compile again
on ppc64.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/agp/backend.c
drivers/char/agp/generic.c