[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D220FDB.4090000@linux.intel.com>
Date:	Mon, 03 Jan 2011 10:05:15 -0800
From:	"H. Peter Anvin" <hpa@...ux.intel.com>
To:	Sebastian Andrzej Siewior <bigeasy@...utronix.de>
CC:	Grant Likely <grant.likely@...retlab.ca>, sodaville@...utronix.de,
	devicetree-discuss@...ts.ozlabs.org, x86@...nel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [sodaville] [PATCH 02/15] x86: Add device tree support
On 01/03/2011 04:20 AM, Sebastian Andrzej Siewior wrote:
> Grant Likely wrote:
>>> +extern char cmd_line[COMMAND_LINE_SIZE];
>>> +/* This number is used when no interrupt has been assigned */
>>> +#define NO_IRQ		(-1)
>>
>> 0 means NO_IRQ on x86 and most architectures.  I will change this when
>> I pick up the patch.
> 
> cat /proc/interrupts
>             CPU0
>    0:         40   IO-APIC-edge      timer
> 
0 for the timer is special.  However, Linus has declared that NO_IRQ is
to be zero, and that only very special interrupts like the PIT timer are
allowed to break that.
	-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
