Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758185AbZFIRdx (ORCPT ); Tue, 9 Jun 2009 13:33:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753241AbZFIRdn (ORCPT ); Tue, 9 Jun 2009 13:33:43 -0400 Received: from moutng.kundenserver.de ([212.227.126.177]:61842 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752396AbZFIRdn (ORCPT ); Tue, 9 Jun 2009 13:33:43 -0400 From: Arnd Bergmann To: liqin.chen@sunplusct.com Subject: Re: [PATCH 09/27] score: create head files hardirq.h hw_irq.h Date: Tue, 9 Jun 2009 19:33:08 +0200 User-Agent: KMail/1.11.90 (Linux/2.6.30-8-generic; KDE/4.2.85; x86_64; ; ) Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , torvalds@linux-foundation.org References: In-Reply-To: X-Face: I@=L^?./?$U,EK.)V[4*>`zSqm0>65YtkOe>TFD'!aw?7OVv#~5xd\s,[~w]-J!)|%=]> =?utf-8?q?+=0A=09=7EohchhkRGW=3F=7C6=5FqTmkd=5Ft=3FLZC=23Q-=60=2E=60Y=2Ea=5E?= =?utf-8?q?3zb?=) =?utf-8?q?+U-JVN=5DWT=25cw=23=5BYo0=267C=26bL12wWGlZi=0A=09=7EJ=3B=5Cwg?= =?utf-8?q?=3B3zRnz?=,J"CT_)=\H'1/{?SR7GDu?WIopm.HaBG=QYj"NZD_[zrM\Gip^U MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200906091933.08483.arnd@arndb.de> X-Provags-ID: V01U2FsdGVkX18WliR3CVEZtNtLUxzBYegkbASBvmS+4h5rcFp y3+FS3akHeFNCdB7hNDRKUX1YKGO1+m4YV5Me610qK6tuGiJ5n p2HzeBnyPc0xHGO+0l6sQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 953 Lines: 33 On Tuesday 09 June 2009, liqin.chen@sunplusct.com wrote: > --- /dev/null > +++ b/arch/score/include/asm/hardirq.h > @@ -0,0 +1,16 @@ > +#ifndef _ASM_SCORE_HARDIRQ_H > +#define _ASM_SCORE_HARDIRQ_H > + > +#include > +#include > + > +typedef struct { > + unsigned int __softirq_pending; > +} ____cacheline_aligned irq_cpustat_t; > + > +/* Standard mappings for irq_cpustat_t above */ > +#include > + > +extern void ack_bad_irq(unsigned int irq); In this case (ack_bad_irq is extern), you can still use the generic file by adding #define ack_bad_irq ack_bad_irq in front of the #include, in order to override the default implementation. Arnd <>< -- 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/