]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: use asm-generic/cacheflush.h
authorChristoph Hellwig <hch@lst.de>
Mon, 8 Jun 2020 04:42:12 +0000 (21:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 8 Jun 2020 18:05:57 +0000 (11:05 -0700)
commit338bdeeb7b74fb8741303135d673c0e91f087832
tree08f185ecc2b502c74b610ab7ffb60855c245cb43
parentb43540477aee47a99e5184c6d308464c1e11b620
powerpc: use asm-generic/cacheflush.h

Power needs almost no cache flushing routines of its own.  Rely on
asm-generic/cacheflush.h for the defaults.

Also remove the pointless __KERNEL__ ifdef while we're at it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Link: http://lkml.kernel.org/r/20200515143646.3857579-17-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/include/asm/cacheflush.h