aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/setup.c
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-06-11 03:31:30 -0400
committerBryan Wu <bryan.wu@analog.com>2007-06-11 03:31:30 -0400
commit52a078120c33b06a9abb721357adaafc3b55b7c1 (patch)
tree5a17d6b1c5c0beb639507d9c54b3c26bd99aa8fc /arch/blackfin/kernel/setup.c
parent83a5c3e3218f138b1a99f787c76e380d6a6ecec9 (diff)
Blackfin arch: move more of our startup code to .init so it can be freed once we are up and running
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/kernel/setup.c')
-rw-r--r--arch/blackfin/kernel/setup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
index 02dc74301920..d9517e7c792b 100644
--- a/arch/blackfin/kernel/setup.c
+++ b/arch/blackfin/kernel/setup.c
@@ -90,7 +90,7 @@ void __init bf53x_cache_init(void)
90#endif 90#endif
91} 91}
92 92
93void bf53x_relocate_l1_mem(void) 93void __init bf53x_relocate_l1_mem(void)
94{ 94{
95 unsigned long l1_code_length; 95 unsigned long l1_code_length;
96 unsigned long l1_data_a_length; 96 unsigned long l1_data_a_length;
@@ -411,7 +411,7 @@ static int __init topology_init(void)
411subsys_initcall(topology_init); 411subsys_initcall(topology_init);
412 412
413#if defined(CONFIG_BLKFIN_DCACHE) || defined(CONFIG_BLKFIN_CACHE) 413#if defined(CONFIG_BLKFIN_DCACHE) || defined(CONFIG_BLKFIN_CACHE)
414u16 lock_kernel_check(u32 start, u32 end) 414static u16 __init lock_kernel_check(u32 start, u32 end)
415{ 415{
416 if ((start <= (u32) _stext && end >= (u32) _end) 416 if ((start <= (u32) _stext && end >= (u32) _end)
417 || (start >= (u32) _stext && end <= (u32) _end)) 417 || (start >= (u32) _stext && end <= (u32) _end))
@@ -681,7 +681,7 @@ static void __init generate_cpl_tables(void)
681 681
682#endif 682#endif
683 683
684static inline u_long get_vco(void) 684static u_long get_vco(void)
685{ 685{
686 u_long msel; 686 u_long msel;
687 u_long vco; 687 u_long vco;
@@ -889,8 +889,8 @@ struct seq_operations cpuinfo_op = {
889 .show = show_cpuinfo, 889 .show = show_cpuinfo,
890}; 890};
891 891
892void cmdline_init(unsigned long r0) 892void __init cmdline_init(char *r0)
893{ 893{
894 if (r0) 894 if (r0)
895 strncpy(command_line, (char *)r0, COMMAND_LINE_SIZE); 895 strncpy(command_line, r0, COMMAND_LINE_SIZE);
896} 896}