From: Miao Xie Date: Wed, 20 Aug 2008 23:37:38 +0000 (-0700) Subject: nohz: fix wrong event handler after online an offlined cpu X-Git-Tag: v2.6.27-rc5~49^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c4fbe5e01d7e5309be5045e7ae0db20a049e6dc;p=pandora-kernel.git nohz: fix wrong event handler after online an offlined cpu On the tickless system(CONFIG_NO_HZ=y and CONFIG_HIGH_RES_TIMERS=n), after I made an offlined cpu online, I found this cpu's event handler was tick_handle_periodic, not tick_nohz_handler. After debuging, I found this bug was caused by the wrong tick mode. the tick mode is not changed to NOHZ_MODE_INACTIVE when the cpu is offline. This patch fixes this bug. Signed-off-by: Miao Xie Signed-off-by: Andrew Morton Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed