summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2014-05-15 11:28:26 -0500
committerScott Wood <scottwood@freescale.com>2014-05-22 18:08:24 -0500
commit8067bd8a12b4978e495dcbe25533ab90d24c1f83 (patch)
tree5a54e25659b5c74c1d417f14dd52a1c9a3e7c26c /arch
parent440d74d1caf7b38f727553bc54de09c1e29e7741 (diff)
downloadlinux-8067bd8a12b4978e495dcbe25533ab90d24c1f83.tar.bz2
powerpc: Fix unused variable warning for epapr_has_idle
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/epapr_paravirt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/epapr_paravirt.c b/arch/powerpc/kernel/epapr_paravirt.c
index eab2f2a05e5f..c47fed009163 100644
--- 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,