summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_l3_smx.h
diff options
context:
space:
mode:
authorTodd Poynor2011-08-24 15:41:39 +0200
committerSantosh Shilimkar2011-09-24 09:58:56 +0200
commit342fd144292a6b64ea869e4052eb250486c8f326 (patch)
tree31d565b230763b63eb35238899d2d24dd3b4fe87 /arch/arm/mach-omap2/omap_l3_smx.h
parentLinux 3.1-rc6 (diff)
downloadkernel-qcow2-linux-342fd144292a6b64ea869e4052eb250486c8f326.tar.gz
kernel-qcow2-linux-342fd144292a6b64ea869e4052eb250486c8f326.tar.xz
kernel-qcow2-linux-342fd144292a6b64ea869e4052eb250486c8f326.zip
OMAP: Improve register access in L3 Error handler.
* Changed the way of accessing L3 target registers from standard base rather than relative to STDERRLOG_MAIN. * Use ffs() to find error source from the L3_FLAGMUX_REGERRn register. * Remove extra l3_base[] entry. * Modified L3 custom error message. Signed-off-by: Todd Poynor <toddpoynor@google.com> Signed-off-by: sricharan <r.sricharan@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_l3_smx.h')
-rw-r--r--arch/arm/mach-omap2/omap_l3_smx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap_l3_smx.h b/arch/arm/mach-omap2/omap_l3_smx.h
index ba2ed9a850cc..185d77ad4b2e 100644
--- a/arch/arm/mach-omap2/omap_l3_smx.h
+++ b/arch/arm/mach-omap2/omap_l3_smx.h
@@ -40,7 +40,7 @@
#define L3_SI_CONTROL 0x020
#define L3_SI_FLAG_STATUS_0 0x510
-const u64 shift = 1;
+static const u64 shift = 1;
#define L3_STATUS_0_MPUIA_BRST (shift << 0)
#define L3_STATUS_0_MPUIA_RSP (shift << 1)