x86, of: Define irq functions to allow drivers/of/* to build on x86
authorAndres Salomon <dilinger@queued.net>
Fri, 12 Nov 2010 05:45:26 +0000 (05:45 +0000)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 16 Dec 2010 01:11:16 +0000 (17:11 -0800)
commit4722d194e648fb5755faecee895b96b26f9732f3
tree979014e339b76798777acc57ae56568c47f56766
parentcf7d7e5a1980d1116ee152d25dac382b112b9c17
x86, of: Define irq functions to allow drivers/of/* to build on x86

- Define a stub irq_create_of_mapping for x86 as a stop-gap solution until
   drivers/of/irq is further along.
 - Define irq_dispose_mapping for x86 to appease of_i2c.c

These are needed to allow stuff in drivers/of/ to build on x86.  This stuff
will eventually get replaced; quoting Grant,

"The long term plan is to have the drivers/of/ code handling the mapping
intelligently like powerpc currently does."  But for now, just provide
these functions.

Signed-off-by: Andres Salomon <dilinger@queued.net>
LKML-Reference: <20101111214526.5de7121b@queued.net>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/irq.h
arch/x86/kernel/irq.c