Skip to content
Commit 0d4b6b90 authored by Paul Mackerras's avatar Paul Mackerras
Browse files

[POWERPC] ppc: More compile fixes



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>
parent 6a8b2308
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment