mirror of
https://github.com/dynup/kpatch
synced 2024-12-18 03:14:31 +00:00
e921c557f9
Kernel version specific __KPATCH_SYSCALL_DEFINEx macros were added to kpatch-syscall.h for x86, but only single versions for other arches. This works out for s390x, but not ppc64le for which kpatch-build support goes back to kernel versions that require slightly different macros. Reorder the __KPATCH_SYSCALL_DEFINEx macros to define the arch-specific ones first (arch/.../include/asm/syscall_wrapper.h) and then fall back to using generic ones (include/linux/syscalls.h versions). Fixes: #1278 Fixes: 9c0b678621b9 ("macros: add syscall patching macros") Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com> |
||
---|---|---|
.. | ||
core | ||
patch | ||
Makefile |