Whamcloud - gitweb
LU-15220 libcfs: fix panic_notifier_list undeclared error 12/45812/6
authorJian Yu <yujian@whamcloud.com>
Fri, 7 Jan 2022 11:12:29 +0000 (03:12 -0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 20 Jan 2022 06:40:11 +0000 (06:40 +0000)
commitfb545fa83837c1478ad41f752cf5d3e313b67c73
tree11df80ac9bf978a2985c52297256c744b5abb913
parent8fdef1381ea07657d6689818b2897d69cb7e9c83
LU-15220 libcfs: fix panic_notifier_list undeclared error

In kernel 5.14 commit f39650de687e35766572ac89dbcd16a5911e2f0a,
panic and oops helpers are split out from include/linux/kernel.h.

This patch accommodates the above changes and fixes the
"'panic_notifier_list' undeclared" error.

Change-Id: I6888f9f4878906c572bb40d950a70ff642d3474e
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/45812
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
libcfs/autoconf/lustre-libcfs.m4
libcfs/libcfs/debug.c