OSDN Git Service

MIPS: Introduce API for enabling & disabling L2 prefetch
authorPaul Burton <paul.burton@imgtec.com>
Tue, 22 Sep 2015 17:10:53 +0000 (10:10 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 Oct 2015 08:49:41 +0000 (09:49 +0100)
commit37f2a174c491dee09844491e5869f5701894ade4
treed12a41655d6119496bd01bb72353fdbdd25dab7f
parentc1a0e9bc885d46e519fd87d35af6a7937abfb986
MIPS: Introduce API for enabling & disabling L2 prefetch

Introduce new functions in struct bcache_ops to enable & disable L2
cache prefetching, and to retrieve the current state of L2 prefetching.
This will be used in later patches.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11179/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/bcache.h