diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-06-11 15:31:30 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-06-11 15:31:30 +0800 |
commit | 321f6e0f5183e489448ae61af79cca1b7fe43e88 (patch) | |
tree | 2ae5df766db693a63a5504325e299799aee9dc02 /arch/blackfin/mm/blackfin_sram.c | |
parent | 5716e514ed526a819775c45a73f1c8b65309e9d3 (diff) | |
download | kernel_samsung_smdk4412-321f6e0f5183e489448ae61af79cca1b7fe43e88.zip kernel_samsung_smdk4412-321f6e0f5183e489448ae61af79cca1b7fe43e88.tar.gz kernel_samsung_smdk4412-321f6e0f5183e489448ae61af79cca1b7fe43e88.tar.bz2 |
Blackfin arch: mark our memory init functions with __init so they get freed after init
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mm/blackfin_sram.c')
-rw-r--r-- | arch/blackfin/mm/blackfin_sram.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/blackfin/mm/blackfin_sram.c b/arch/blackfin/mm/blackfin_sram.c index 3c9e635..0241764 100644 --- a/arch/blackfin/mm/blackfin_sram.c +++ b/arch/blackfin/mm/blackfin_sram.c @@ -7,7 +7,7 @@ * Description: SRAM driver for Blackfin ADSP-BF5xx * * Modified: - * Copyright 2004-2006 Analog Devices Inc. + * Copyright 2004-2007 Analog Devices Inc. * * Bugs: Enter bugs at http://blackfin.uclinux.org/ * @@ -80,7 +80,7 @@ static struct l1_sram_piece l1_inst_sram[CONFIG_L1_MAX_PIECE]; #endif /* L1 Scratchpad SRAM initialization function */ -void l1sram_init(void) +void __init l1sram_init(void) { printk(KERN_INFO "Blackfin Scratchpad data SRAM: %d KB\n", L1_SCRATCH_LENGTH >> 10); @@ -94,7 +94,7 @@ void l1sram_init(void) spin_lock_init(&l1sram_lock); } -void l1_data_sram_init(void) +void __init l1_data_sram_init(void) { #if L1_DATA_A_LENGTH != 0 printk(KERN_INFO "Blackfin DATA_A SRAM: %d KB\n", @@ -120,7 +120,7 @@ void l1_data_sram_init(void) spin_lock_init(&l1_data_sram_lock); } -void l1_inst_sram_init(void) +void __init l1_inst_sram_init(void) { #if L1_CODE_LENGTH != 0 printk(KERN_INFO "Blackfin Instruction SRAM: %d KB\n", |