aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mm/sram-alloc.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-11-18 04:48:22 -0500
committerBryan Wu <cooloney@kernel.org>2008-11-18 04:48:22 -0500
commit0b82e27444f4c186e931ecc97c9a8dae07128078 (patch)
tree4ec77e1a0bcbc506ce056499dd41d9ff2b7ca4e8 /arch/blackfin/mm/sram-alloc.c
parent2e8ca591479e7127c7a6406cfb54962afbd5a68e (diff)
Blackfin arch: fix unused warning for some blackfin derivatives
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mm/sram-alloc.c')
-rw-r--r--arch/blackfin/mm/sram-alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/mm/sram-alloc.c b/arch/blackfin/mm/sram-alloc.c
index 8f82b4c92d07..1ca5deb7934b 100644
--- a/arch/blackfin/mm/sram-alloc.c
+++ b/arch/blackfin/mm/sram-alloc.c
@@ -106,7 +106,9 @@ static void __init l1sram_init(void)
106 106
107static void __init l1_data_sram_init(void) 107static void __init l1_data_sram_init(void)
108{ 108{
109#if L1_DATA_A_LENGTH != 0 || L1_DATA_B_LENGTH != 0
109 unsigned int cpu; 110 unsigned int cpu;
111#endif
110#if L1_DATA_A_LENGTH != 0 112#if L1_DATA_A_LENGTH != 0
111 for (cpu = 0; cpu < num_possible_cpus(); ++cpu) { 113 for (cpu = 0; cpu < num_possible_cpus(); ++cpu) {
112 per_cpu(free_l1_data_A_sram_head, cpu).next = 114 per_cpu(free_l1_data_A_sram_head, cpu).next =