aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-11-13 08:32:19 -0500
committerThomas Gleixner <tglx@linutronix.de>2009-11-13 14:46:24 -0500
commit529eaccd900a59724619b4a6ef6579fd518d5218 (patch)
treec2d9986df5dc18ef5b412036a0d897194bad12e7 /kernel/time
parente3a4fab0c0c30e21e104712f4e9cb39f175d0f21 (diff)
nohz: Type cast printk argument
On some archs local_softirq_pending() has a data type of unsigned long on others its unsigned int. Type cast it to (unsigned int) in the printk to avoid the compiler warning. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> LKML-Reference: <new-submission>
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/tick-sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 3840f6dff7eb..c65ba0faa98f 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -250,7 +250,7 @@ void tick_nohz_stop_sched_tick(int inidle)
250 250
251 if (ratelimit < 10) { 251 if (ratelimit < 10) {
252 printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n", 252 printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n",
253 local_softirq_pending()); 253 (unsigned int) local_softirq_pending());
254 ratelimit++; 254 ratelimit++;
255 } 255 }
256 goto end; 256 goto end;