Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1457399 > unrolled thread

[PATCH] powerpc: vdso: Add missing include file

Started byGuenter Roeck <linux@roeck-us.net>
First post2016-08-07 01:00 +0200
Last post2016-08-09 13:30 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] powerpc: vdso: Add missing include file Guenter Roeck <linux@roeck-us.net> - 2016-08-07 01:00 +0200
    Re: [PATCH] powerpc: vdso: Add missing include file Michael Ellerman <mpe@ellerman.id.au> - 2016-08-09 03:50 +0200
      Re: [PATCH] powerpc: vdso: Add missing include file Guenter Roeck <linux@roeck-us.net> - 2016-08-09 04:20 +0200
    Re: powerpc: vdso: Add missing include file Michael Ellerman <patch-notifications@ellerman.id.au> - 2016-08-09 13:30 +0200

#1457399 — [PATCH] powerpc: vdso: Add missing include file

FromGuenter Roeck <linux@roeck-us.net>
Date2016-08-07 01:00 +0200
Subject[PATCH] powerpc: vdso: Add missing include file
Message-ID<s3iJr-3yz-1@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1458365

FromMichael Ellerman <mpe@ellerman.id.au>
Date2016-08-09 03:50 +0200
Message-ID<s44l3-Wf-3@gated-at.bofh.it>
In reply to#1457399
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

[toc] | [prev] | [next] | [standalone]


#1458371

FromGuenter Roeck <linux@roeck-us.net>
Date2016-08-09 04:20 +0200
Message-ID<s44O6-1op-3@gated-at.bofh.it>
In reply to#1458365
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

[toc] | [prev] | [next] | [standalone]


#1458617 — Re: powerpc: vdso: Add missing include file

FromMichael Ellerman <patch-notifications@ellerman.id.au>
Date2016-08-09 13:30 +0200
SubjectRe: powerpc: vdso: Add missing include file
Message-ID<s4dom-6RJ-23@gated-at.bofh.it>
In reply to#1457399
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web