Skip to content

Commit

Permalink
powerpc/cpuidle: Make it a bool, not a tristate
Browse files Browse the repository at this point in the history
As pointed out, asm/system.h has empty inline implementations for
update_smt_snooze_delay and pseries_notify_cpuidle_add_cpu, which are
used when CONFIG_PSERIES_IDLE is undefined. Since those two functions
are used in core power architecture functions (store_smt_snooze_delay
at kernel/sysfs.c and smp_xics_setup_cpu at platforms/pseries/smp.c),

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Deepthi Dharwar authored and Benjamin Herrenschmidt committed Jan 24, 2012
1 parent 407a362 commit f7aa554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/pseries/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ config DTL
Say N if you are unsure.

config PSERIES_IDLE
tristate "Cpuidle driver for pSeries platforms"
bool "Cpuidle driver for pSeries platforms"
depends on CPU_IDLE
depends on PPC_PSERIES
default y
Expand Down

0 comments on commit f7aa554

Please sign in to comment.