diff options
author | Jayachandran C <jayachandranc@netlogicmicro.com> | 2011-06-21 16:07:05 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-10-20 10:00:19 -0400 |
commit | a74e33535fa27c758d2a23ebf5f8964bf19940bc (patch) | |
tree | bc7b84a1750b74e1d1260a7a6820671ac6daed47 /arch/mips/netlogic/xlr/setup.c | |
parent | b77bb37a2ad7689d9ef8048df9cc30ee770f5a94 (diff) |
MIPS:Netlogic:Fix section mismatch warnings.
Add __init and __cpuinit annotation to functions that need it.
Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2535/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/netlogic/xlr/setup.c')
-rw-r--r-- | arch/mips/netlogic/xlr/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/netlogic/xlr/setup.c b/arch/mips/netlogic/xlr/setup.c index 482802569e74..cee25ddd0887 100644 --- a/arch/mips/netlogic/xlr/setup.c +++ b/arch/mips/netlogic/xlr/setup.c | |||
@@ -53,7 +53,7 @@ unsigned long netlogic_io_base = (unsigned long)(DEFAULT_NETLOGIC_IO_BASE); | |||
53 | unsigned long nlm_common_ebase = 0x0; | 53 | unsigned long nlm_common_ebase = 0x0; |
54 | struct psb_info nlm_prom_info; | 54 | struct psb_info nlm_prom_info; |
55 | 55 | ||
56 | static void nlm_early_serial_setup(void) | 56 | static void __init nlm_early_serial_setup(void) |
57 | { | 57 | { |
58 | struct uart_port s; | 58 | struct uart_port s; |
59 | nlm_reg_t *uart_base; | 59 | nlm_reg_t *uart_base; |
@@ -101,7 +101,7 @@ void __init prom_free_prom_memory(void) | |||
101 | /* Nothing yet */ | 101 | /* Nothing yet */ |
102 | } | 102 | } |
103 | 103 | ||
104 | static void build_arcs_cmdline(int *argv) | 104 | static void __init build_arcs_cmdline(int *argv) |
105 | { | 105 | { |
106 | int i, remain, len; | 106 | int i, remain, len; |
107 | char *arg; | 107 | char *arg; |