aboutsummaryrefslogtreecommitdiffstats
path: root/arch/metag/include/asm/processor.h
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2013-01-31 13:42:03 +0000
committerJames Hogan <james.hogan@imgtec.com>2013-03-02 20:09:58 +0000
commit3d6b7bb0a2c518d24bc3036f9bbb6f3fb35462c3 (patch)
treed9f8427f6be3a3ec2882ac4c3e9ee2e0dbe9256d /arch/metag/include/asm/processor.h
parentmetag: make TXPRIVEXT bits explicit (diff)
downloadlinux-dev-3d6b7bb0a2c518d24bc3036f9bbb6f3fb35462c3.tar.xz
linux-dev-3d6b7bb0a2c518d24bc3036f9bbb6f3fb35462c3.zip
metag: protect more non-MMU memory regions
Rename setup_txprivext() to setup_priv() and add initialisation of some more per-thread privilege protection registers: - TxPRIVSYSR: 0x04400000-0x047fffff 0x05000000-0x07ffffff 0x84000000-0x87ffffff - TxPIOREG: 0x02000000-0x02ffffff 0x04800000-0x048fffff - TxSYREG: 0x04000000-0x04000fff (except write fetch system event) Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/metag/include/asm/processor.h')
-rw-r--r--arch/metag/include/asm/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/metag/include/asm/processor.h b/arch/metag/include/asm/processor.h
index b7e25289f3a3..9b029a7911c3 100644
--- a/arch/metag/include/asm/processor.h
+++ b/arch/metag/include/asm/processor.h
@@ -154,7 +154,7 @@ unsigned long get_wchan(struct task_struct *p);
#define cpu_relax() barrier()
-extern void setup_txprivext(void);
+extern void setup_priv(void);
static inline unsigned int hard_processor_id(void)
{