Re: [PATCH] cpuidle: Prevent null pointer dereference in cpuidle_coupled_cpu_notify

2012-08-15 Thread Rafael J. Wysocki
On Tuesday, August 14, 2012, Jon Medhurst (Tixy) wrote: > When a kernel is built to support multiple hardware types it's possible > that CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is set but the hardware the > kernel is run on doesn't support cpuidle and therefore doesn't load a > driver for it. In this ca

[PATCH] cpuidle: Prevent null pointer dereference in cpuidle_coupled_cpu_notify

2012-08-14 Thread Jon Medhurst (Tixy)
When a kernel is built to support multiple hardware types it's possible that CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is set but the hardware the kernel is run on doesn't support cpuidle and therefore doesn't load a driver for it. In this case, when the system is shut down, cpuidle_coupled_cpu_notify() g