dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Thomas Gleixner 2009-11-13 14:32:19 +01:00
parent e3a4fab0c0
commit 529eaccd90
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ void tick_nohz_stop_sched_tick(int inidle)
if (ratelimit < 10) {
printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n",
local_softirq_pending());
(unsigned int) local_softirq_pending());
ratelimit++;
}
goto end;