Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760755AbZJIKlE (ORCPT ); Fri, 9 Oct 2009 06:41:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760746AbZJIKlD (ORCPT ); Fri, 9 Oct 2009 06:41:03 -0400 Received: from eddie.linux-mips.org ([78.24.191.182]:40690 "EHLO eddie.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760745AbZJIKlC (ORCPT ); Fri, 9 Oct 2009 06:41:02 -0400 Date: Fri, 9 Oct 2009 12:41:30 +0200 From: Ralf Baechle To: Linus Torvalds Cc: Wu Zhangjin , Arnd Bergmann , Linux Kernel Mailing List , Remis Lima Baima , Christoph Hellwig , Benjamin Herrenschmidt Subject: [PATCH] IRQ: Change __softirq_pending to unsigned int in asm-generic/hardirq.h. Message-ID: <20091009104130.GB619@linux-mips.org> References: <1255013172-31599-1-git-send-email-wuzhangjin@gmail.com> <20091009102814.GA619@linux-mips.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091009102814.GA619@linux-mips.org> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1378 Lines: 35 Since the beginnings in aafe4dbed0bf6cbdb2e9f03e1d42f8a540d8541d include/asm-generic/hardirq.h defined __softirq_pending as unsigned long which is different from other architectures for no apparent good reason and was causing the following warning: kernel/time/tick-sched.c: In function 'tick_nohz_stop_sched_tick': kernel/time/tick-sched.c:261: warning: format '%02x' expects type 'unsigned int', but argument 2 has type 'long unsigned int' Reported and initial patch by Wu Zhangjin . Signed-off-by: Ralf Baechle --- Tested on a big endian 64-bit MIPS SMP system. include/asm-generic/hardirq.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/asm-generic/hardirq.h b/include/asm-generic/hardirq.h index 23bb4da..62f5908 100644 --- a/include/asm-generic/hardirq.h +++ b/include/asm-generic/hardirq.h @@ -6,7 +6,7 @@ #include typedef struct { - unsigned long __softirq_pending; + unsigned int __softirq_pending; } ____cacheline_aligned irq_cpustat_t; #include /* Standard mappings for irq_cpustat_t above */ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/