https://github.com/torvalds/linux
Revision 4f41c94d5c24e3b3453e9df03c0a80ca1acf00d2 authored by Karsten Wiese on 07 April 2008, 10:14:45 UTC, committed by Ingo Molnar on 07 April 2008, 19:09:14 UTC
In time_cpufreq_notifier() the cpu id to act upon is held in freq->cpu. Use it
instead of smp_processor_id() in the call to set_cyc2ns_scale().
This makes the preempt_*able() unnecessary and lets set_cyc2ns_scale() update
the intended cpu's cyc2ns.

Related mail/thread: http://lkml.org/lkml/2007/12/7/130

Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent 5b13d86
History
Tip revision: 4f41c94d5c24e3b3453e9df03c0a80ca1acf00d2 authored by Karsten Wiese on 07 April 2008, 10:14:45 UTC
x86: fix call to set_cyc2ns_scale() from time_cpufreq_notifier()
Tip revision: 4f41c94
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 644 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.4 KB
Kbuild -rw-r--r-- 1.6 KB
MAINTAINERS -rw-r--r-- 94.9 KB
Makefile -rw-r--r-- 52.8 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top