Use the in-kernel pwc driver, no need to maintain it externally
[openwrt/svn-archive/archive.git] / target / linux / ixp4xx-2.6 / image / apex / patches / 100-fix_compiler_inlining.patch
1 --- apex-1.5.4/src/arch-arm/entry/apex.lds.S~ 2007-05-31 14:54:41.000000000 +0930
2 +++ apex-1.5.4/src/arch-arm/entry/apex.lds.S 2007-06-02 14:26:51.000000000 +0930
3 @@ -48,8 +48,8 @@
4 }
5 .reset.post : { /* Post-SDRAM init code.*/
6 *(.reset.post)
7 - *(.reset.postfn)
8 - *(.reset.postex)
9 + *(.reset.post.func)
10 + *(.reset.post.exit)
11 }
12 .rlocate : { /* Final/only relocation of APEX to SDRAM */
13 *(.rlocate)
14 --- apex-1.5.4/src/arch-arm/entry/reset.c~ 2007-05-31 14:54:41.000000000 +0930
15 +++ apex-1.5.4/src/arch-arm/entry/reset.c 2007-06-02 14:27:20.000000000 +0930
16 @@ -292,10 +292,10 @@
17 // __asm volatile ("mov sp, %0" :: "r" (&APEX_VMA_STACK_START));
18
19 __asm volatile ("mov r0, %0" :: "r" (offset));
20 - __asm volatile ("b reset_post_2");
21 + __asm volatile ("b reset_post_exit");
22 }
23
24 -void __naked __section (.reset.post) reset_post_2 (void)
25 +void __naked __section (.reset.post.exit) reset_post_exit (void)
26 {
27 }
28