pc: introduce a function to allocate cpu irq.
commit6f09e686f807611aa03a91e37e9fb5cfc5283703
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 14 May 2010 07:29:08 +0000 (14 16:29 +0900)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 15 May 2010 15:41:50 +0000 (15 15:41 +0000)
treed6f83924c2634cb41d9d6f3acf2c4c7c7ab95855
parentec2654fb299306941e80c4907b7a9798cb6c6f05
pc: introduce a function to allocate cpu irq.

Introduce a function, pc_allocate_cpu_irq(), to allocate cpu irq
in order to make pic_irq_request() piix independent.
Later piix code will be split out to another file keeping pic_irq_request()
static.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/pc.c