Skip to content

Commit

Permalink
Trusty: Include panic notifier header file
Browse files Browse the repository at this point in the history
panic_notifier_list has been refactored from notifier.h to
panic_notifier.h, include panic_notifier.h to fix build issue.

Signed-off-by: Zhong,Fangjian <[email protected]>
  • Loading branch information
Zhong,Fangjian authored and JeevakaPrabu committed Nov 12, 2022
1 parent 071fdbf commit 69c4d40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/trusty/trusty-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <linux/moduleparam.h>
#include <linux/log2.h>
#include <linux/miscdevice.h>
#include <linux/panic_notifier.h>
#include <linux/poll.h>
#include <linux/seq_file.h>
#include <asm/page.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/trusty/trusty-timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)
#include <linux/of_platform.h>
#endif
#include <linux/panic_notifier.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/trusty/smcall.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/trusty/trusty-virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <linux/remoteproc.h>
#include <linux/slab.h>

#include <linux/panic_notifier.h>
#include <linux/platform_device.h>
#include <linux/trusty/smcall.h>
#include <linux/trusty/trusty.h>
Expand Down

0 comments on commit 69c4d40

Please sign in to comment.