]> git.baikalelectronics.ru Git - kernel.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)
commitb4aa37ccfb4dc13242291d31a2bdb5f4645e4180
treee46448ce7930756b6ca2fb45104bc95b874c6a39
parent965b0e71976522ddc8c181d42bf9d07764e489e1
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