forked from luck/tmp_suning_uos_patched
[Blackfin] arch: kill section mismatch warnings
Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
parent
8b07a2a1e5
commit
c051489df8
|
@ -28,6 +28,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/linkage.h>
|
#include <linux/linkage.h>
|
||||||
|
#include <linux/init.h>
|
||||||
#include <asm/blackfin.h>
|
#include <asm/blackfin.h>
|
||||||
#include <asm/trace.h>
|
#include <asm/trace.h>
|
||||||
#if CONFIG_BFIN_KERNEL_CLOCK
|
#if CONFIG_BFIN_KERNEL_CLOCK
|
||||||
|
@ -44,10 +45,9 @@
|
||||||
|
|
||||||
#define INITIAL_STACK 0xFFB01000
|
#define INITIAL_STACK 0xFFB01000
|
||||||
|
|
||||||
.text
|
__INIT
|
||||||
|
|
||||||
ENTRY(__start)
|
ENTRY(__start)
|
||||||
ENTRY(__stext)
|
|
||||||
/* R0: argument of command line string, passed from uboot, save it */
|
/* R0: argument of command line string, passed from uboot, save it */
|
||||||
R7 = R0;
|
R7 = R0;
|
||||||
/* Enable Cycle Counter and Nesting Of Interrupts */
|
/* Enable Cycle Counter and Nesting Of Interrupts */
|
||||||
|
@ -213,6 +213,7 @@ ENTRY(__stext)
|
||||||
|
|
||||||
.LWAIT_HERE:
|
.LWAIT_HERE:
|
||||||
jump .LWAIT_HERE;
|
jump .LWAIT_HERE;
|
||||||
|
ENDPROC(__start)
|
||||||
|
|
||||||
ENTRY(_real_start)
|
ENTRY(_real_start)
|
||||||
[ -- sp ] = reti;
|
[ -- sp ] = reti;
|
||||||
|
@ -285,6 +286,9 @@ ENTRY(_real_start)
|
||||||
call _start_kernel;
|
call _start_kernel;
|
||||||
.L_exit:
|
.L_exit:
|
||||||
jump.s .L_exit;
|
jump.s .L_exit;
|
||||||
|
ENDPROC(_real_start)
|
||||||
|
|
||||||
|
__FINIT
|
||||||
|
|
||||||
.section .l1.text
|
.section .l1.text
|
||||||
#if CONFIG_BFIN_KERNEL_CLOCK
|
#if CONFIG_BFIN_KERNEL_CLOCK
|
||||||
|
@ -450,6 +454,7 @@ ENTRY(_start_dma_code)
|
||||||
SSYNC;
|
SSYNC;
|
||||||
|
|
||||||
RTS;
|
RTS;
|
||||||
|
ENDPROC(_start_dma_code)
|
||||||
#endif /* CONFIG_BFIN_KERNEL_CLOCK */
|
#endif /* CONFIG_BFIN_KERNEL_CLOCK */
|
||||||
|
|
||||||
.data
|
.data
|
||||||
|
|
|
@ -181,7 +181,7 @@ void __init mem_init(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static __init void free_init_pages(const char *what, unsigned long begin, unsigned long end)
|
static void __init free_init_pages(const char *what, unsigned long begin, unsigned long end)
|
||||||
{
|
{
|
||||||
unsigned long addr;
|
unsigned long addr;
|
||||||
/* next to check that the page we free is not a partial page */
|
/* next to check that the page we free is not a partial page */
|
||||||
|
@ -203,7 +203,7 @@ void __init free_initrd_mem(unsigned long start, unsigned long end)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void __init free_initmem(void)
|
void __init_refok free_initmem(void)
|
||||||
{
|
{
|
||||||
#if defined CONFIG_RAMKERNEL && !defined CONFIG_MPU
|
#if defined CONFIG_RAMKERNEL && !defined CONFIG_MPU
|
||||||
free_init_pages("unused kernel memory",
|
free_init_pages("unused kernel memory",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user