All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] powerpc: vdso: Add missing include file
@ 2016-08-06 22:54 Guenter Roeck
  2016-08-09  1:46 ` Michael Ellerman
  2016-08-09 11:26 ` Michael Ellerman
  0 siblings, 2 replies; 4+ messages in thread
From: Guenter Roeck @ 2016-08-06 22:54 UTC (permalink / raw)
  To: Benjamin Herrenschmidt
  Cc: Paul Mackerras, Michael Ellerman, linuxppc-dev, linux-kernel,
	Guenter Roeck, Kevin Hao

Some powerpc builds fail with the following buld error.

In file included from ./arch/powerpc/include/asm/mmu_context.h:11:0,
                 from arch/powerpc/kernel/vdso.c:28:
arch/powerpc/include/asm/cputhreads.h: In function 'get_tensr':
arch/powerpc/include/asm/cputhreads.h:101:2: error:
	implicit declaration of function 'cpu_has_feature'

Fixes: b92a226e5284 ("powerpc: Move cpu_has_feature() to a separate file")
Cc: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
My apologies for the noise if already reported/fixed.

 arch/powerpc/kernel/vdso.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c
index 6767605ea8da..4111d30badfa 100644
--- a/arch/powerpc/kernel/vdso.c
+++ b/arch/powerpc/kernel/vdso.c
@@ -22,6 +22,7 @@
 #include <linux/security.h>
 #include <linux/memblock.h>
 
+#include <asm/cpu_has_feature.h>
 #include <asm/pgtable.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] powerpc: vdso: Add missing include file
  2016-08-06 22:54 [PATCH] powerpc: vdso: Add missing include file Guenter Roeck
@ 2016-08-09  1:46 ` Michael Ellerman
  2016-08-09  2:11   ` Guenter Roeck
  2016-08-09 11:26 ` Michael Ellerman
  1 sibling, 1 reply; 4+ messages in thread
From: Michael Ellerman @ 2016-08-09  1:46 UTC (permalink / raw)
  To: Guenter Roeck, Benjamin Herrenschmidt
  Cc: Paul Mackerras, linuxppc-dev, linux-kernel, Guenter Roeck, Kevin Hao

Guenter Roeck <linux@roeck-us.net> writes:

> Some powerpc builds fail with the following buld error.

Is that a randconfig?

All my builds are green.

Thanks for the patch anyway.

cheers

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] powerpc: vdso: Add missing include file
  2016-08-09  1:46 ` Michael Ellerman
@ 2016-08-09  2:11   ` Guenter Roeck
  0 siblings, 0 replies; 4+ messages in thread
From: Guenter Roeck @ 2016-08-09  2:11 UTC (permalink / raw)
  To: Michael Ellerman, Benjamin Herrenschmidt
  Cc: Paul Mackerras, linuxppc-dev, linux-kernel, Kevin Hao

On 08/08/2016 06:46 PM, Michael Ellerman wrote:
> Guenter Roeck <linux@roeck-us.net> writes:
>
>> Some powerpc builds fail with the following buld error.
>
> Is that a randconfig?
>

No, it is a configuration I use for qemu testing.

https://github.com/groeck/linux-build-test/blob/master/rootfs/ppc64/qemu_ppc64_e5500_defconfig

Guenter

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: powerpc: vdso: Add missing include file
  2016-08-06 22:54 [PATCH] powerpc: vdso: Add missing include file Guenter Roeck
  2016-08-09  1:46 ` Michael Ellerman
@ 2016-08-09 11:26 ` Michael Ellerman
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Ellerman @ 2016-08-09 11:26 UTC (permalink / raw)
  To: Guenter Roeck, Benjamin Herrenschmidt
  Cc: Kevin Hao, linux-kernel, Paul Mackerras, linuxppc-dev, Guenter Roeck

On Sat, 2016-06-08 at 22:54:12 UTC, Guenter Roeck wrote:
> Some powerpc builds fail with the following buld error.
> 
> In file included from ./arch/powerpc/include/asm/mmu_context.h:11:0,
>                  from arch/powerpc/kernel/vdso.c:28:
> arch/powerpc/include/asm/cputhreads.h: In function 'get_tensr':
> arch/powerpc/include/asm/cputhreads.h:101:2: error:
> 	implicit declaration of function 'cpu_has_feature'
> 
> Fixes: b92a226e5284 ("powerpc: Move cpu_has_feature() to a separate file")
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/546c4402c57497a6ffdf5373af

cheers

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-09 11:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-06 22:54 [PATCH] powerpc: vdso: Add missing include file Guenter Roeck
2016-08-09  1:46 ` Michael Ellerman
2016-08-09  2:11   ` Guenter Roeck
2016-08-09 11:26 ` Michael Ellerman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.