mirror of
https://github.com/dynup/kpatch
synced 2025-02-20 11:57:00 +00:00
create-diff-object: add "_printk" to the __LINE__ detection
The __LINE__ detection code looks for "printk", which on newer kernels has been renamed to "_printk". Fix the check for newer kernels. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
This commit is contained in:
parent
79fd60b28d
commit
b700732f5d
@ -780,6 +780,7 @@ static bool kpatch_line_macro_change_only(struct kpatch_elf *kelf,
|
||||
!strcmp(rela->sym->name, "___might_sleep") ||
|
||||
!strcmp(rela->sym->name, "__might_fault") ||
|
||||
!strcmp(rela->sym->name, "printk") ||
|
||||
!strcmp(rela->sym->name, "_printk") ||
|
||||
!strcmp(rela->sym->name, "lockdep_rcu_suspicious") ||
|
||||
!strcmp(rela->sym->name, "__btrfs_abort_transaction") ||
|
||||
!strcmp(rela->sym->name, "__btrfs_handle_fs_error") ||
|
||||
|
Loading…
Reference in New Issue
Block a user