More timer related cleanups
Subsystems (3)
PATCH 1/1 More timer related cleanups
I was confused by FSEC = 10^15 NSEC statement, plus small whitespace fixes. When there's copyright, there should be GPL.
Signed-off-by Pavel Machek <[email protected]>
arch/x86/kernel/hpet.c +2 -1
@@ -16,7 +16,8 @@ #include <asm/io.h>#define HPET_MASK CLOCKSOURCE_MASK(32)#define HPET_SHIFT 22 -/* FSEC = 10^-15 NSEC = 10^-9 */ +/* FSEC = 10^-15 +NSEC = 10^-9 */ #define FSEC_PER_NSEC 1000000/*
arch/x86/kernel/process_64.c +1 -1
@@ -196,7 +196,7 @@ #endif /* CONFIG_HOTPLUG_CPU */* low exit latency (ie sit in a loop waiting for * somebody to say that they'd like to reschedule) */ -void cpu_idle (void ) +void cpu_idle (void ) {current_thread_info ()->status |=TS_POLLING ;/* endless idle loop with no priority at all */
kernel/softirq.c +3 -1
@@ -3,7 +3,9 @@* * Copyright (C) 1992 Linus Torvalds * -* Rewritten. Old one was good in 2.2, but in 2.3 it was immoral. --ANK (990903) +* Distribute under GPLv2. +* +* Rewritten. Old one was good in 2.2, but in 2.3 it was immoral. --ANK (990903) */ #include <linux/module.h>
kernel/time/tick-sched.c +1 -1
@@ -9,7 +9,7 @@* * Started by: Thomas Gleixner and Ingo Molnar * -* For licencing details see kernel-base/COPYING +* Distribute under GPLv2. */ #include <linux/cpu.h> #include <linux/err.h>
kernel/time/timer_stats.c +1 -1
@@ -26,7 +26,7 @@* the pid and cmdline from the owner process if applicable. * * Start/stop data collection: -* # echo 1[0] >/proc/timer_stats +* # echo [1|0] >/proc/timer_stats * * Display the information collected so far: * # cat /proc/timer_stats
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html