[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100503130623.GB23372@elte.hu>
Date: Mon, 3 May 2010 15:06:23 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Borislav Petkov <bp@...en8.de>, "H. Peter Anvin" <hpa@...or.com>,
Arnaldo Carvalho de Melo <acme@...radead.org>,
linux-kernel@...r.kernel.org,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Fr??d??ric Weisbecker <fweisbec@...il.com>,
Mike Galbraith <efault@....de>,
Paul Mackerras <paulus@...ba.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Tom Zanussi <tzanussi@...il.com>
Subject: Re: [PATCH 0/5] perf inject + say no to __KERNEL__ only stuff
* Borislav Petkov <bp@...en8.de> wrote:
> From: Ingo Molnar <mingo@...e.hu>
> Date: Mon, May 03, 2010 at 09:37:49AM +0200
>
> > It broke half of the non-x86 architectures. For example on Sparc defconfig:
> >
> > In file included from /home/mingo/tip/include/asm-generic/bitops/hweight.h:4,
> > from /home/mingo/tip/arch/sparc/include/asm/bitops_32.h:103,
> > from /home/mingo/tip/arch/sparc/include/asm/bitops.h:6,
> > from /home/mingo/tip/include/linux/bitops.h:17,
> > from /home/mingo/tip/include/linux/kernel.h:15,
> > from /home/mingo/tip/include/linux/sched.h:54,
> > from /home/mingo/tip/arch/sparc/kernel/asm-offsets.c:13:
> > /home/mingo/tip/include/asm-generic/bitops/arch_hweight.h: In function '__arch_hweight32':
> > /home/mingo/tip/include/asm-generic/bitops/arch_hweight.h:8: error: implicit declaration of function '__sw_hweight32'
> > /home/mingo/tip/include/asm-generic/bitops/arch_hweight.h: In function '__arch_hweight16':
> > /home/mingo/tip/include/asm-generic/bitops/arch_hweight.h:13: error: implicit declaration of function '__sw_hweight16'
> > /home/mingo/tip/include/asm-generic/bitops/arch_hweight.h: In function '__arch_hweight8':
> > /home/mingo/tip/include/asm-generic/bitops/arch_hweight.h:18: error: implicit declaration of function '__sw_hweight8'
> > /home/mingo/tip/include/asm-generic/bitops/arch_hweight.h: In function '__arch_hweight64':
> > /home/mingo/tip/include/asm-generic/bitops/arch_hweight.h:23: error: implicit declaration of function '__sw_hweight64'
> >
> > (the failure on other architectures looks similar)
>
> Looks like we're missing the __sw_hweightXX prototype definitions in
> that include maze. Ingo, which -tip branch is that and can you put it
> somewhere for me to test?
it's tip:core/hweight. You should be able to do 'git checkout
tip/core/hweight' if you have -tip as a remote repository.
It's not merged into tip:master at the moment, but you can do it yourself via:
git merge tip/core/hweight
to get the tree i tested.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists