diff options
author | Scott Wood <scottwood@freescale.com> | 2014-05-15 11:28:26 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-05-22 18:08:24 -0500 |
commit | 8067bd8a12b4978e495dcbe25533ab90d24c1f83 (patch) | |
tree | 5a54e25659b5c74c1d417f14dd52a1c9a3e7c26c /arch/powerpc/kernel/epapr_paravirt.c | |
parent | 440d74d1caf7b38f727553bc54de09c1e29e7741 (diff) |
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/powerpc/kernel/epapr_paravirt.c')
-rw-r--r-- | arch/powerpc/kernel/epapr_paravirt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/epapr_paravirt.c b/arch/powerpc/kernel/epapr_paravirt.c index eab2f2a05e5..c47fed00916 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, |