Skip to content

Commit

Permalink
kpatch-syscall: update for s390x RHEL-9.6 backports
Browse files Browse the repository at this point in the history
RHEL-9.6 backported the upstream v6.3 s390x syscall updates, so add a
distro-specific kernel version check around the correct definitions.

Signed-off-by: Joe Lawrence <[email protected]>
  • Loading branch information
joe-lawrence committed Nov 26, 2024
1 parent 398332f commit f62b4d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kmod/patch/kpatch-syscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
#elif defined(CONFIG_S390)

/* arch/s390/include/asm/syscall_wrapper.h versions */
# if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)
# if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0) || \
RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(9, 6)

#define __KPATCH_S390_SYS_STUBx(x, name, ...) \
long __s390_sys##name(struct pt_regs *regs); \
Expand Down

0 comments on commit f62b4d3

Please sign in to comment.