m68k/atari: Change VME irq numbers from unsigned long to unsigned int
Device interrupts numbers were changed to unsigned int in 1997, the year IRQ_MACHSPEC was killed as well. Also kill a related cast while we're at it. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: netdev@vger.kernel.org
This commit is contained in:
@@ -206,7 +206,7 @@ void __init atari_init_IRQ(void)
|
||||
* hardware with a programmable int vector (probably a VME board).
|
||||
*/
|
||||
|
||||
unsigned long atari_register_vme_int(void)
|
||||
unsigned int atari_register_vme_int(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
@@ -223,7 +223,7 @@ unsigned long atari_register_vme_int(void)
|
||||
EXPORT_SYMBOL(atari_register_vme_int);
|
||||
|
||||
|
||||
void atari_unregister_vme_int(unsigned long irq)
|
||||
void atari_unregister_vme_int(unsigned int irq)
|
||||
{
|
||||
if (irq >= VME_SOURCE_BASE && irq < VME_SOURCE_BASE + VME_MAX_SOURCES) {
|
||||
irq -= VME_SOURCE_BASE;
|
||||
|
Viittaa uudesa ongelmassa
Block a user