Re: [PATCH] Fix compile failure on PA-RISC

From: Rolf Eike Beer
Date: Sat May 05 2012 - 02:56:47 EST


Mikulas Patocka wrote:
> Hi
>
> This patch fixes compile failure on PA-RISC.
>
> BTW. if the PA-RISC port is uncompilable for all 3.4-rc versions (and
> contains two other bugs that prevent it from booting) ... does it mean
> that I'm the only one who is using PA-RISC with recent kernel?
>
> Mikulas
>
> ---
>
> Fix compile failure on PA-RISC
>
> This patch fixes compile error on PA-RISC.
>
> The problem is this:
> linux/bitops.h includes asm/bitops.h. Through a chain of dependencies
> asm/bitops.h includes asm/page.h and asm/page.h needs function fls and
> others defined in asm/bitops.h and linux/bitops.h --- and these
> functions are not yet defined because the files linux/bitops.h and
> asm/bitops.h hasn't been fully processed.

I've posted a set of patches on 2012-04-21 both on linux-kernel and linux-
parisc, but apart from one ACK I got no reaction.

I did only move the definition of PAGE0 from asm/pdc.h to asm/page.h and fixed
another bunch of breakage that was detected while fixing this.

Eike

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