Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Chen Gang and committed by
Richard Kuo
3d298ca1 6f8ae9bc

+2
+2
arch/hexagon/kernel/kgdb.c
··· 18 18 * 02110-1301, USA. 19 19 */ 20 20 21 + #include <linux/irq.h> 22 + #include <linux/sched.h> 21 23 #include <linux/kdebug.h> 22 24 #include <linux/kgdb.h> 23 25