projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
440d74d
)
powerpc: Fix unused variable warning for epapr_has_idle
author
Scott Wood
<scottwood@freescale.com>
Thu, 15 May 2014 16:28:26 +0000
(11:28 -0500)
committer
Scott Wood
<scottwood@freescale.com>
Thu, 22 May 2014 23:08:24 +0000
(18:08 -0500)
This warning can be seen in allyesconfig, and was introduced by commit
f9eb581c63b2acce827570e105205c0789360650
"powerpc: fix build of
epapr_paravirt on 64-bit book3s".
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kernel/epapr_paravirt.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/epapr_paravirt.c
b/arch/powerpc/kernel/epapr_paravirt.c
index eab2f2a05e5f1334a607430398c4b025067330c2..c47fed009163b2610bc8005875b7f989bca84293 100644
(file)
--- a/
arch/powerpc/kernel/epapr_paravirt.c
+++ b/
arch/powerpc/kernel/epapr_paravirt.c
@@
-30,7
+30,7
@@
extern u32 epapr_ev_idle_start[];
#endif
bool epapr_paravirt_enabled;
-static bool epapr_has_idle;
+static bool
__maybe_unused
epapr_has_idle;
static int __init early_init_dt_scan_epapr(unsigned long node,
const char *uname,