Thread (31 messages) 31 messages, 11 authors, 2011-07-27

Re: [ANNOUNCE] 3.0-rt3

From: Uwe Kleine-König <hidden>
Date: 2011-07-26 09:30:37
Also in: lkml
Subsystem: the rest · Maintainer: Linus Torvalds

On Mon, Jul 25, 2011 at 08:11:38PM -0700, Frank Rowand wrote:
On 07/24/11 03:33, Thomas Gleixner wrote:
quoted
Dear RT Folks,

I'm pleased to announce the 3.0-rt3 release.
ARM panda board boots for PREEMPT_NONE.

New compile warning for ARM pandaboard, PREEMPT_NONE:

kernel/softirq.c: In function 'softirq_check_pending_idle':
kernel/softirq.c:119: warning: format '%02lx' expects type 'long unsigned int', but argument 2 has type 'unsigned int'
This happens on x86, too.

The obvious fix is:
diff --git a/kernel/softirq.c b/kernel/softirq.c
index 99620ec..af749f6 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -77,7 +77,7 @@ char *softirq_to_name[NR_SOFTIRQS] = {
 void softirq_check_pending_idle(void)
 {
 	static int rate_limit;
-	u32 warnpending = 0, pending = local_softirq_pending();
+	unsigned warnpending = 0, pending = local_softirq_pending();
 
 	if (rate_limit >= 10)
 		return;
@@ -101,7 +101,7 @@ void softirq_check_pending_idle(void)
 	}
 
 	if (warnpending) {
-		printk(KERN_ERR "NOHZ: local_softirq_pending %02lx\n",
+		printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n",
 		       pending);
 		rate_limit++;
 	}
@@ -115,7 +115,7 @@ void softirq_check_pending_idle(void)
 	static int rate_limit;
 
 	if (rate_limit < 10) {
-		printk(KERN_ERR "NOHZ: local_softirq_pending %02lx\n",
+		printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n",
 		       local_softirq_pending());
 		rate_limit++;
 	}
Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help