mirror of
https://github.com/dynup/kpatch
synced 2024-12-25 23:02:02 +00:00
Merge pull request #282 from goldyfruit/master
core.c: add check to be sure that the kernel run with CONFIG_KALLSYMS_AL...
This commit is contained in:
commit
d3550bfc3a
@ -49,8 +49,9 @@
|
||||
#if !defined(CONFIG_FUNCTION_TRACER) || \
|
||||
!defined(CONFIG_HAVE_FENTRY) || \
|
||||
!defined(CONFIG_MODULES) || \
|
||||
!defined(CONFIG_SYSFS)
|
||||
#error "CONFIG_FUNCTION_TRACER, CONFIG_HAVE_FENTRY, CONFIG_MODULES, and CONFIG_SYSFS kernel config options are required"
|
||||
!defined(CONFIG_SYSFS) || \
|
||||
!defined(CONFIG_KALLSYMS_ALL)
|
||||
#error "CONFIG_FUNCTION_TRACER, CONFIG_HAVE_FENTRY, CONFIG_MODULES, CONFIG_SYSFS, CONFIG_KALLSYMS_ALL kernel config options are required"
|
||||
#endif
|
||||
|
||||
#define KPATCH_HASH_BITS 8
|
||||
|
Loading…
Reference in New Issue
Block a user