diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2012-11-19 07:00:41 +0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2012-12-18 21:10:22 -0800 |
commit | c622b29d1f38021411965b7e0170ab055551b257 (patch) | |
tree | f86875612ade331965b80abafb14cbd796924461 /arch/xtensa/kernel | |
parent | 733536b865441d9bad02c4711a4372d48ce21e54 (diff) | |
download | blackbird-op-linux-c622b29d1f38021411965b7e0170ab055551b257.tar.gz blackbird-op-linux-c622b29d1f38021411965b7e0170ab055551b257.zip |
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.S | 3 |
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 |