diff --git a/test/integration/rhel-8.0/new-function.patch b/test/integration/rhel-8.0/new-function.patch index d935205..f1f21a7 100644 --- a/test/integration/rhel-8.0/new-function.patch +++ b/test/integration/rhel-8.0/new-function.patch @@ -15,8 +15,8 @@ index 3ad4602..f3cda7e 100644 return (b - buf) ? b - buf : retval; } -+static ssize_t n_tty_write(struct tty_struct *tty, struct file *file, -+ const unsigned char *buf, size_t nr) ++static ssize_t __attribute__((optimize("-fno-optimize-sibling-calls"))) n_tty_write(struct tty_struct *tty, struct file *file, ++ const unsigned char *buf, size_t nr) +{ + return kpatch_n_tty_write(tty, file, buf, nr); +}