arm: Implement l2x0 cache disable functions
authorThomas Gleixner <[tglx@linutronix.de]>
Sat, 31 Jul 2010 15:35:24 +0000 (21:05 +0530)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Tue, 26 Oct 2010 06:09:58 +0000 (11:39 +0530)
commit2fd8658931193599c867fd6974fa184ec34af16c
tree7d9a05dbd6996eec6ad38aab93d4cc6a1c187a23
parentae360a78f41164e7f9c4cf846696b5b6d8dae5c8
arm: Implement l2x0 cache disable functions

Add flush_all, inv_all and disable functions to the l2x0 code. These
functions are called from kexec code to prevent random crashes in the
new kernel.

Platforms like OMAP which control L2 enable/disable via SMI mode can
override the outer_cache.disable() function to implement their own.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
arch/arm/mm/cache-l2x0.c