aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel
diff options
context:
space:
mode:
authorChris Zankel <czankel@speedy.(none)>2010-08-03 03:38:00 -0400
committerChris Zankel <czankel@speedy.(none)>2010-08-03 03:38:00 -0400
commit66630f71e23a3b5fe778d38aea2f0c6d017602bf (patch)
tree4aa52e15d68ce870fc8e7dbc140eeb16cd99ef79 /arch/xtensa/kernel
parent9fe6206f400646a2322096b56c59891d530e8d51 (diff)
parentecd53497b706b235a10c70d4fc639768d7235c5f (diff)
Merge remote branch 'origin/master'
Diffstat (limited to 'arch/xtensa/kernel')
-rw-r--r--arch/xtensa/kernel/Makefile4
-rw-r--r--arch/xtensa/kernel/asm-offsets.c1
-rw-r--r--arch/xtensa/kernel/entry.S1
-rw-r--r--arch/xtensa/kernel/head.S4
4 files changed, 6 insertions, 4 deletions
diff --git a/arch/xtensa/kernel/Makefile b/arch/xtensa/kernel/Makefile
index 6f56d95f2c1e..2d2728b3e862 100644
--- a/arch/xtensa/kernel/Makefile
+++ b/arch/xtensa/kernel/Makefile
@@ -23,8 +23,8 @@ obj-$(CONFIG_MODULES) += xtensa_ksyms.o module.o
23# 23#
24# Replicate rules in scripts/Makefile.build 24# Replicate rules in scripts/Makefile.build
25 25
26sed-y = -e 's/(\(\.[a-z]*it\|\.ref\|\)\.text)/(\1.literal \1.text)/g' \ 26sed-y = -e 's/\*(\(\.[a-z]*it\|\.ref\|\)\.text)/*(\1.literal \1.text)/g' \
27 -e 's/(\(\.text\.[a-z]*\))/(\1.literal \1)/g' 27 -e 's/\*(\(\.text\.[a-z]*\))/*(\1.literal \1)/g'
28 28
29quiet_cmd__cpp_lds_S = LDS $@ 29quiet_cmd__cpp_lds_S = LDS $@
30 cmd__cpp_lds_S = $(CPP) $(cpp_flags) -P -C -Uxtensa -D__ASSEMBLY__ $< \ 30 cmd__cpp_lds_S = $(CPP) $(cpp_flags) -P -C -Uxtensa -D__ASSEMBLY__ $< \
diff --git a/arch/xtensa/kernel/asm-offsets.c b/arch/xtensa/kernel/asm-offsets.c
index 070ff8af3a21..7dc3f9157185 100644
--- a/arch/xtensa/kernel/asm-offsets.c
+++ b/arch/xtensa/kernel/asm-offsets.c
@@ -13,6 +13,7 @@
13 */ 13 */
14 14
15#include <asm/processor.h> 15#include <asm/processor.h>
16#include <asm/coprocessor.h>
16 17
17#include <linux/types.h> 18#include <linux/types.h>
18#include <linux/stddef.h> 19#include <linux/stddef.h>
diff --git a/arch/xtensa/kernel/entry.S b/arch/xtensa/kernel/entry.S
index 77fc9f6dc016..5fd01f6aaf37 100644
--- a/arch/xtensa/kernel/entry.S
+++ b/arch/xtensa/kernel/entry.S
@@ -16,6 +16,7 @@
16#include <linux/linkage.h> 16#include <linux/linkage.h>
17#include <asm/asm-offsets.h> 17#include <asm/asm-offsets.h>
18#include <asm/processor.h> 18#include <asm/processor.h>
19#include <asm/coprocessor.h>
19#include <asm/thread_info.h> 20#include <asm/thread_info.h>
20#include <asm/uaccess.h> 21#include <asm/uaccess.h>
21#include <asm/unistd.h> 22#include <asm/unistd.h>
diff --git a/arch/xtensa/kernel/head.S b/arch/xtensa/kernel/head.S
index d215adcfd4ea..3ef91a73652d 100644
--- a/arch/xtensa/kernel/head.S
+++ b/arch/xtensa/kernel/head.S
@@ -184,8 +184,8 @@ _startup:
184 * Now clear the BSS segment. 184 * Now clear the BSS segment.
185 */ 185 */
186 186
187 movi a2, _bss_start # start of BSS 187 movi a2, __bss_start # start of BSS
188 movi a3, _bss_end # end of BSS 188 movi a3, __bss_stop # end of BSS
189 189
190 __loopt a2, a3, a4, 2 190 __loopt a2, a3, a4, 2
191 s32i a0, a2, 0 191 s32i a0, a2, 0