summaryrefslogtreecommitdiff
path: root/arch/xtensa/kernel
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2012-11-19 07:00:41 +0400
committerChris Zankel <chris@zankel.net>2012-12-19 09:10:22 +0400
commitc622b29d1f38021411965b7e0170ab055551b257 (patch)
treef86875612ade331965b80abafb14cbd796924461 /arch/xtensa/kernel
parent733536b865441d9bad02c4711a4372d48ce21e54 (diff)
downloadlinux-c622b29d1f38021411965b7e0170ab055551b257.tar.xz
xtensa: initialize atomctl SR
In order to use S32C1I instruction on cores with ATOMCTL SR the register must be properly initialized. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/kernel')
-rw-r--r--arch/xtensa/kernel/head.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/head.S b/arch/xtensa/kernel/head.S
index 417998c02108..9013ae0174f8 100644
--- a/arch/xtensa/kernel/head.S
+++ b/arch/xtensa/kernel/head.S
@@ -18,6 +18,7 @@
#include <asm/processor.h>
#include <asm/page.h>
#include <asm/cacheasm.h>
+#include <asm/initialize_mmu.h>
#include <linux/init.h>
#include <linux/linkage.h>
@@ -155,6 +156,8 @@ ENTRY(_startup)
isync
+ initialize_mmu
+
/* Unpack data sections
*
* The linker script used to build the Linux kernel image