atheros: do not alter the network vlan config if swconfig is required and missing
[openwrt.git] / target / linux / coldfire / patches / 065-mcfv4e_bss_clear_move.patch
1 From 87ea76988875856dc1c3657b27ac792d2f0311e9 Mon Sep 17 00:00:00 2001
2 From: Kurt Mahan <kmahan@freescale.com>
3 Date: Tue, 24 Jun 2008 22:12:17 -0600
4 Subject: [PATCH] Move BSS initialization after mmu setup.
5
6 LTIBName: mcfv4e-bss-clear-move
7 Signed-off-by: Kurt Mahan <kmahan@freescale.com>
8 ---
9 arch/m68k/coldfire/head.S | 19 +++++++++----------
10 1 files changed, 9 insertions(+), 10 deletions(-)
11
12 --- a/arch/m68k/coldfire/head.S
13 +++ b/arch/m68k/coldfire/head.S
14 @@ -326,16 +326,6 @@ ENTRY(__start)
15 movec %d0, %acr3
16 nop
17
18 -#ifdef CONFIG_COLDFIRE
19 -/* zero bss */
20 - lea _sbss,%a0
21 - lea _ebss,%a1
22 - clrl %d0
23 -_loop_bss:
24 - movel %d0,(%a0)+
25 - cmpl %a0,%a1
26 - bne _loop_bss
27 -#endif
28 /* If you change the memory size to another value make a matching
29 change in paging_init(cf-mmu.c) to zones_size[]. */
30
31 @@ -564,6 +554,15 @@ ENTRY(__running_high)
32 addl #PAGE_OFFSET,%a1
33 movel %a1,%a0@
34
35 +/* zero bss */
36 + lea _sbss,%a0
37 + lea _ebss,%a1
38 + clrl %d0
39 +_loop_bss:
40 + movel %d0,(%a0)+
41 + cmpl %a0,%a1
42 + bne _loop_bss
43 +
44 /* Unmap unity mappings */
45 #if CONFIG_SDRAM_BASE != PAGE_OFFSET
46 #if defined(CONFIG_M5445X)
This page took 0.043069 seconds and 5 git commands to generate.