https://github.com/torvalds/linux
Revision 1fca251f36fac3fae7d9cf10de69c2c93f6c0000 authored by Heiko Carstens on 17 February 2006, 21:52:46 UTC, committed by Linus Torvalds on 17 February 2006, 21:59:26 UTC
Set preempt_count of idle_thread to zero before switching off cpu.  Otherwise
the preempt_count will be wrong if the cpu is switched on again since the
thread will be reused.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 6d751c4
History
Tip revision: 1fca251f36fac3fae7d9cf10de69c2c93f6c0000 authored by Heiko Carstens on 17 February 2006, 21:52:46 UTC
[PATCH] s390: fix preempt_count of idle thread with cpu hotplug
Tip revision: 1fca251
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 424 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.5 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 66.3 KB
Makefile -rw-r--r-- 43.8 KB
README -rw-r--r-- 15.1 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top