aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/head.S
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2011-02-01 03:00:57 -0500
committerMichal Simek <monstr@monstr.eu>2011-03-09 02:09:54 -0500
commitcd3415779bdb13e3daaf13965c89d286a0cf0480 (patch)
tree845a2ab0a2f7e4f23b2c84fe6c1e0432d8cf34ae /arch/microblaze/kernel/head.S
parent6e83557c38b40d6e9d1c82ad0ae59d8e5db9c50c (diff)
microblaze: Do not use "la" pseudo instruction - use addik instead
"la" pseudo instruction is only translation to "addik". Use directly "addik" which is described in the MB reference guide. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/head.S')
-rw-r--r--arch/microblaze/kernel/head.S12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/microblaze/kernel/head.S b/arch/microblaze/kernel/head.S
index d8dc085a9456..77320b8fc16a 100644
--- a/arch/microblaze/kernel/head.S
+++ b/arch/microblaze/kernel/head.S
@@ -224,26 +224,26 @@ start_here:
224#endif /* CONFIG_MMU */ 224#endif /* CONFIG_MMU */
225 225
226 /* Initialize small data anchors */ 226 /* Initialize small data anchors */
227 la r13, r0, _KERNEL_SDA_BASE_ 227 addik r13, r0, _KERNEL_SDA_BASE_
228 la r2, r0, _KERNEL_SDA2_BASE_ 228 addik r2, r0, _KERNEL_SDA2_BASE_
229 229
230 /* Initialize stack pointer */ 230 /* Initialize stack pointer */
231 la r1, r0, init_thread_union + THREAD_SIZE - 4 231 addik r1, r0, init_thread_union + THREAD_SIZE - 4
232 232
233 /* Initialize r31 with current task address */ 233 /* Initialize r31 with current task address */
234 la r31, r0, init_task 234 addik r31, r0, init_task
235 235
236 /* 236 /*
237 * Call platform dependent initialize function. 237 * Call platform dependent initialize function.
238 * Please see $(ARCH)/mach-$(SUBARCH)/setup.c for 238 * Please see $(ARCH)/mach-$(SUBARCH)/setup.c for
239 * the function. 239 * the function.
240 */ 240 */
241 la r9, r0, machine_early_init 241 addik r9, r0, machine_early_init
242 brald r15, r9 242 brald r15, r9
243 nop 243 nop
244 244
245#ifndef CONFIG_MMU 245#ifndef CONFIG_MMU
246 la r15, r0, machine_halt 246 addik r15, r0, machine_halt
247 braid start_kernel 247 braid start_kernel
248 nop 248 nop
249#else 249#else