kpatch/kmod/patch
Artem Savkov 355927287d livepatch-patch-hook: fix non-rhel builds
Preprocessor doesn't stop unwinding macroses in #if clauses if one of
the conditions is false resulting in the following error when trying to
build on non-rhel system:

patch/livepatch-patch-hook.c:53:48: error: missing binary operator before token "("
       RHEL_RELEASE_CODE <= RHEL_RELEASE_VERSION(7, 5))

Fix by using 2 levels of #ifs instead of &&. The same way HAVE_CALLBACKS
does.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
2018-05-31 12:28:03 +02:00
..
kpatch-macros.h kmod: add support for in-kernel livepatch hooks 2018-03-23 10:32:14 -04:00
kpatch-patch-hook.c kmod: add support for in-kernel livepatch hooks 2018-03-23 10:32:14 -04:00
kpatch-patch.h kmod: add support for in-kernel livepatch hooks 2018-03-23 10:32:14 -04:00
kpatch.h build and install core module with make 2014-02-18 07:44:33 -06:00
kpatch.lds.S kmod: add support for in-kernel livepatch hooks 2018-03-23 10:32:14 -04:00
livepatch-patch-hook.c livepatch-patch-hook: fix non-rhel builds 2018-05-31 12:28:03 +02:00
Makefile kpatch-build: set default module prefix accordingly 2017-09-20 16:30:00 -04:00
patch-hook.c CONFIG_LIVE_PATCHING -> CONFIG_LIVEPATCH 2015-02-04 08:32:08 -06:00