• Namhyung Kim's avatar
    sparc32: fix build failure on CONFIG_SPARC_LEON · 51672321
    Namhyung Kim authored
    CC      arch/sparc/kernel/irq_32.o
    arch/sparc/kernel/irq_32.c: In function 'request_fast_irq':
    arch/sparc/kernel/irq_32.c:370:25: error: conflicting types for 'trapbase_cpu1'
    arch/sparc/include/asm/leon.h:366:22: note: previous declaration of 'trapbase_cpu1' was here
    arch/sparc/kernel/irq_32.c:370:40: error: conflicting types for 'trapbase_cpu2'
    arch/sparc/include/asm/leon.h:367:22: note: previous declaration of 'trapbase_cpu2' was here
    arch/sparc/kernel/irq_32.c:370:55: error: conflicting types for 'trapbase_cpu3'
    arch/sparc/include/asm/leon.h:368:22: note: previous declaration of 'trapbase_cpu3' was here
    make[3]: *** [arch/sparc/kernel/irq_32.o] Error 1
    make[2]: *** [arch/sparc/kernel] Error 2
    make[1]: *** [sub-make] Error 2
    make: *** [all] Error 2
    Signed-off-by: default avatarNamhyung Kim <namhyung@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    51672321
irq_32.c 15.9 KB