summaryrefslogtreecommitdiff
path: root/.zsh/completion/_trafgen.zsh
AgeCommit message (Expand)AuthorFilesLines
2016-01-27completion: Update completion from netsniff-ng gitTobias Klauser1-1/+3
2015-10-29completion: Update completitions for netsniff-ng toolsTobias Klauser1-3/+5
2013-07-14completion: Update netsniff-ng completion filesTobias Klauser1-0/+1
2013-06-07Rename completion files, so they get loadedTobias Klauser1-0/+55
dfc103f158197c8ad93678849b1ed&id2=e7387da52028b072489c45efeb7a916c0205ebd2'>diff)
cpuidle: Do not access cpuidle_devices when !CONFIG_CPU_IDLE
The cpuidle_devices per-CPU variable is only defined when CPU_IDLE is enabled. Commit c8cc7d4de7a4 ("sched/idle: Reorganize the idle loop") removed the #ifdef CONFIG_CPU_IDLE around cpuidle_idle_call() with the compiler optimising away __this_cpu_read(cpuidle_devices). However, with CONFIG_UBSAN && !CONFIG_CPU_IDLE, this optimisation no longer happens and the kernel fails to link since cpuidle_devices is not defined. This patch introduces an accessor function for the current CPU cpuidle device (returning NULL when !CONFIG_CPU_IDLE) and uses it in cpuidle_idle_call(). Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Cc: 4.5+ <stable@vger.kernel.org> # 4.5+ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat