[PATCH 0/6] PA-RISC: fix compile

From: Rolf Eike Beer
Date: Sat Apr 21 2012 - 14:33:39 EST


Since d66acc39c7cee323733c8503b9de1821a56dff7e (bitops: Optimise get_order())
getorder.h includes log2.h which leads to an include loop on PA-RISC, bringing
a bunch of other breakage to light. This patchset fixes the compilation of the
current state of 3.4 on HPPA.

Rolf Eike Beer (6):
use linux/bitops.h instead of linux/log2.h to get fls()
parisc: add missing includes in asm/spinlock.h
parisc: add missing forward declarations in asm/hardware.h
parisc: drop include of asm/pdc.h from asm/hardware.h
parisc: add missing include of asm/page.h to asm/pgtable.h
parisc: move definition of PAGE0 to asm/page.h

arch/parisc/include/asm/hardware.h | 3 ++-
arch/parisc/include/asm/page.h | 6 ++++++
arch/parisc/include/asm/pdc.h | 7 -------
arch/parisc/include/asm/pgtable.h | 2 ++
arch/parisc/include/asm/spinlock.h | 2 ++
arch/parisc/kernel/pdc_cons.c | 1 +
arch/parisc/kernel/time.c | 1 +
drivers/parisc/sba_iommu.c | 1 +
drivers/video/console/sticore.c | 2 ++
include/asm-generic/getorder.h | 2 +-
10 files changed, 18 insertions(+), 9 deletions(-)

--
1.7.9.2

Attachment: signature.asc
Description: This is a digitally signed message part.