]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] ppc: More compile fixes
authorPaul Mackerras <paulus@samba.org>
Mon, 12 May 2008 12:57:51 +0000 (22:57 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 12 May 2008 12:57:51 +0000 (22:57 +1000)
commit960ced2c558961b88092028cc92898298c09f1a2
tree6bf52878511c86cc33b2b95ffba53863fa9c01f0
parent822189d34b67183ffe5e8b78f897bb499903c72b
[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: Paul Mackerras <paulus@samba.org>
arch/powerpc/lib/Makefile
arch/ppc/kernel/setup.c
arch/ppc/platforms/residual.c
include/asm-ppc/system.h