2005-01-13 14:40:26

by Mikael Pettersson

[permalink] [raw]
Subject: 2.6.11-rc1 compile failure on ppc32

When the kernel is configured for a PMAC (via MULTIPLATFORM),
then arch/ppc/kernel/perfmon.c fails to compile because the
MMCR0_PMXE macro is undefined.

Adding a "#define MMCR0_PMXE 0x04000000" somewhere visible
fixes this.

/Mikael


2005-01-13 14:47:57

by Kumar Gala

[permalink] [raw]
Subject: Re: 2.6.11-rc1 compile failure on ppc32

This should be fixed, or I assume the following fixes it (post
2.6.11-rc1):

http://linux.bkbits.net:8080/linux-2.5/[email protected]?
nav=index.html|ChangeSet@-1d

- kumar

On Jan 13, 2005, at 8:40 AM, Mikael Pettersson wrote:

> When the kernel is configured for a PMAC (via MULTIPLATFORM),
> then arch/ppc/kernel/perfmon.c fails to compile because the
> MMCR0_PMXE macro is undefined.
>
> Adding a "#define MMCR0_PMXE 0x04000000" somewhere visible
> fixes this.
>
> /Mikael
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at? http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at? http://www.tux.org/lkml/