xtensa: fault: include <asm/traps.h>
authorRandy Dunlap <rdunlap@infradead.org>
Wed, 20 Sep 2023 05:21:25 +0000 (22:21 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 20 Sep 2023 12:03:18 +0000 (05:03 -0700)
commit84e34a99fd403ba3c131584fa023a0a5ce217feb
treee565c3299143ff0a5b318cd78b0565ac9207dea0
parent494e87ffa0159b3f879694a9231089707792a44d
xtensa: fault: include <asm/traps.h>

Use <asm/traps.h> to provide the function prototype for do_page_fault()
to prevent a build warning:

arch/xtensa/mm/fault.c:87:6: warning: no previous prototype for 'do_page_fault' [-Wmissing-prototypes]
   87 | void do_page_fault(struct pt_regs *regs)

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Message-Id: <20230920052139.10570-3-rdunlap@infradead.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/mm/fault.c