Commit 0b82e274 authored by Mike Frysinger's avatar Mike Frysinger Committed by Bryan Wu

Blackfin arch: fix unused warning for some blackfin derivatives

Signed-off-by: default avatarMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
parent 2e8ca591
...@@ -106,7 +106,9 @@ static void __init l1sram_init(void) ...@@ -106,7 +106,9 @@ static void __init l1sram_init(void)
static void __init l1_data_sram_init(void) static void __init l1_data_sram_init(void)
{ {
#if L1_DATA_A_LENGTH != 0 || L1_DATA_B_LENGTH != 0
unsigned int cpu; unsigned int cpu;
#endif
#if L1_DATA_A_LENGTH != 0 #if L1_DATA_A_LENGTH != 0
for (cpu = 0; cpu < num_possible_cpus(); ++cpu) { for (cpu = 0; cpu < num_possible_cpus(); ++cpu) {
per_cpu(free_l1_data_A_sram_head, cpu).next = per_cpu(free_l1_data_A_sram_head, cpu).next =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment