diff options
author | Todd Poynor | 2011-08-24 15:41:39 +0200 |
---|---|---|
committer | Santosh Shilimkar | 2011-09-24 09:58:56 +0200 |
commit | 342fd144292a6b64ea869e4052eb250486c8f326 (patch) | |
tree | 31d565b230763b63eb35238899d2d24dd3b4fe87 /arch/arm/mach-omap2/omap_l3_smx.h | |
parent | Linux 3.1-rc6 (diff) | |
download | kernel-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.h | 2 |
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) |