Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d298ca1 authored by Chen Gang's avatar Chen Gang Committed by Richard Kuo
Browse files

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: default avatarChen Gang <gang.chen@asianux.com>
Signed-off-by: default avatarRichard Kuo <rkuo@codeaurora.org>
parent 6f8ae9bc
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -18,6 +18,8 @@
 * 02110-1301, USA.
 * 02110-1301, USA.
 */
 */


#include <linux/irq.h>
#include <linux/sched.h>
#include <linux/kdebug.h>
#include <linux/kdebug.h>
#include <linux/kgdb.h>
#include <linux/kgdb.h>