• Paul Mackerras's avatar
    [POWERPC] ppc: More compile fixes · 0d4b6b90
    Paul Mackerras authored
    This fixes a few more miscellaneous compile problems with ARCH=ppc.
    
    1. Don't compile devres.c on ARCH=ppc, it doesn't have ioremap_flags.
    2. Include <asm/irq.h> in setup.c for the __DO_IRQ_CANON definition.
    3. Include <linux/proc_fs.h> in residual.c for the
       definition of create_proc_read_entry.
    4. Fix xchg_ptr to be a static inline to eliminate a compiler warning.
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    0d4b6b90
setup.c 12.9 KB