alpha: fix build failures
diff mbox series

Message ID 1505668810-7497-1-git-send-email-sudipm.mukherjee@gmail.com
State New, archived
Headers show
Series
  • alpha: fix build failures
Related show

Commit Message

Sudip Mukherjee Sept. 17, 2017, 5:20 p.m. UTC
The build of alpha allmodconfig is giving error:
arch/alpha/include/asm/mmu_context.h: In function 'ev5_switch_mm':
arch/alpha/include/asm/mmu_context.h:160:2: error:
	implicit declaration of function 'task_thread_info';
	did you mean 'init_thread_info'? [-Werror=implicit-function-declaration]

The file 'mmu_context.h' needed an extra header file.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
---

The build log of next-20170915 is at:
https://travis-ci.org/sudipm-mukherjee/parport/jobs/275726322

 arch/alpha/include/asm/mmu_context.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Sudip Mukherjee Sept. 27, 2017, 8:16 p.m. UTC | #1
Hi Andrew,

On Sun, Sep 17, 2017 at 06:20:10PM +0100, Sudip Mukherjee wrote:
> The build of alpha allmodconfig is giving error:
> arch/alpha/include/asm/mmu_context.h: In function 'ev5_switch_mm':
> arch/alpha/include/asm/mmu_context.h:160:2: error:
> 	implicit declaration of function 'task_thread_info';
> 	did you mean 'init_thread_info'? [-Werror=implicit-function-declaration]
> 
> The file 'mmu_context.h' needed an extra header file.
> 
> Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
> ---

Will this be picked up by you? I can see the builds failing in
linux-next and also in v4.14-rc2.

--
Regards
Sudip

Patch
diff mbox series

diff --git a/arch/alpha/include/asm/mmu_context.h b/arch/alpha/include/asm/mmu_context.h
index 384bd47..45c020a 100644
--- a/arch/alpha/include/asm/mmu_context.h
+++ b/arch/alpha/include/asm/mmu_context.h
@@ -8,6 +8,7 @@ 
  */
 
 #include <linux/mm_types.h>
+#include <linux/sched.h>
 
 #include <asm/machvec.h>
 #include <asm/compiler.h>