[GIT PULL] Disintegrate and kill asm/system.h

Linus Torvalds torvalds at linux-foundation.org
Thu Mar 29 15:24:41 EST 2012


On Wed, Mar 28, 2012 at 9:15 PM, Stephen Rothwell <sfr at canb.auug.org.au> wrote:
>
> The following patch fixes (as much as possible) a powerpc allyesconfig build.

Ugh:

> diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
> index af48e59..1f94ddf 100644
> --- a/kernel/irq/irqdomain.c
> +++ b/kernel/irq/irqdomain.c
> @@ -12,6 +12,9 @@
>  #include <linux/slab.h>
>  #include <linux/smp.h>
>  #include <linux/fs.h>
> +#ifdef CONFIG_VIRQ_DEBUG
> +#include <asm/debug.h>
> +#endif

Can we please move that abortion into arch/powerpc/? Instead of making
generic code even uglier..

                       Linus


More information about the Linuxppc-dev mailing list