Skip to content

Commit

Permalink
score: traps: Add missing include file to fix build error
Browse files Browse the repository at this point in the history
score images fail to build as follows.

arch/score/kernel/traps.c: In function 'show_stack':
arch/score/kernel/traps.c:55:3: error:
	implicit declaration of function '__get_user'

__get_user() is declared in asm/uaccess.h, which was previously included
through asm/module.h.

Cc: Al Viro <[email protected]>
Fixes: 88dd4a7 ("score: separate extable.h, switch module.h to it")
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
groeck authored and Al Viro committed Oct 15, 2016
1 parent f1a9622 commit 7041c57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/score/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <asm/cacheflush.h>
#include <asm/irq.h>
#include <asm/irq_regs.h>
#include <asm/uaccess.h>

unsigned long exception_handlers[32];

Expand Down

0 comments on commit 7041c57

Please sign in to comment.