projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e8ca59
)
Blackfin arch: fix unused warning for some blackfin derivatives
author
Mike Frysinger
<vapier.adi@gmail.com>
Tue, 18 Nov 2008 09:48:22 +0000
(17:48 +0800)
committer
Bryan Wu
<cooloney@kernel.org>
Tue, 18 Nov 2008 09:48:22 +0000
(17:48 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mm/sram-alloc.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/blackfin/mm/sram-alloc.c
b/arch/blackfin/mm/sram-alloc.c
index 8f82b4c92d07e5a54cf6599feb5083ec4c61eb82..1ca5deb7934b0b52dfdb081c7b65185131bfcbdf 100644
(file)
--- a/
arch/blackfin/mm/sram-alloc.c
+++ b/
arch/blackfin/mm/sram-alloc.c
@@
-106,7
+106,9
@@
static void __init l1sram_init(void)
static void __init l1_data_sram_init(void)
{
+#if L1_DATA_A_LENGTH != 0 || L1_DATA_B_LENGTH != 0
unsigned int cpu;
+#endif
#if L1_DATA_A_LENGTH != 0
for (cpu = 0; cpu < num_possible_cpus(); ++cpu) {
per_cpu(free_l1_data_A_sram_head, cpu).next =