diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-11-01 07:54:17 -0400 |
---|---|---|
committer | Richard Kuo <rkuo@codeaurora.org> | 2014-04-04 19:19:59 -0400 |
commit | 3d298ca1a48fcaba616bf57d3c12a2b0f58a65dc (patch) | |
tree | 3715c5356502a8ef7bb4203062d6f418bb446edd /arch/hexagon/kernel | |
parent | 6f8ae9bc0628c9e039003a7d572a6f59c835b868 (diff) |
hexagon: kernel: kgdb: include related header for pass compiling.
Need include related headers for pass compiling, the related error
(with allmodconfig for v4):
CC arch/hexagon/kernel/kgdb.o
arch/hexagon/kernel/kgdb.c:30: error: invalid use of undefined type 'struct pt_regs'
arch/hexagon/kernel/kgdb.c:31: error: invalid use of undefined type 'struct pt_regs'
...
arch/hexagon/kernel/kgdb.c:220: error: implicit declaration of function 'local_irq_save'
arch/hexagon/kernel/kgdb.c:222: error: implicit declaration of function 'local_irq_restore'
...
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon/kernel')
-rw-r--r-- | arch/hexagon/kernel/kgdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/hexagon/kernel/kgdb.c b/arch/hexagon/kernel/kgdb.c index 82d5c2593323..038580cc5abf 100644 --- a/arch/hexagon/kernel/kgdb.c +++ b/arch/hexagon/kernel/kgdb.c | |||
@@ -18,6 +18,8 @@ | |||
18 | * 02110-1301, USA. | 18 | * 02110-1301, USA. |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <linux/irq.h> | ||
22 | #include <linux/sched.h> | ||
21 | #include <linux/kdebug.h> | 23 | #include <linux/kdebug.h> |
22 | #include <linux/kgdb.h> | 24 | #include <linux/kgdb.h> |
23 | 25 | ||