Commit 5a8e136
committed
parse klp backport properties from livepatch.h
Avoid further cluttering of kpatch-build by per-distro
exceptions to the usual inference from KERNEL_VERSION of
core klp properties NO_KLP_ARCH or HAVE_KLP_REPLACE.
Rather than tweak kpatch-build to reflect each distro's
different backporting of livepatch core code from upstream,
at each reported KERNEL_VERSION, advertise in <linux/livepatch.h>
those kernel properties that have been backported from upstream,
overriding the logic based on KERNEL_VERSION as needed.
Signed-off-by: Pete Swain <swine@google.com>1 parent fa959df commit 5a8e136
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
| 228 | + | |
227 | 229 | | |
228 | 230 | | |
229 | 231 | | |
| |||
233 | 235 | | |
234 | 236 | | |
235 | 237 | | |
| 238 | + | |
| 239 | + | |
236 | 240 | | |
237 | 241 | | |
238 | 242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| 320 | + | |
| 321 | + | |
320 | 322 | | |
321 | 323 | | |
322 | 324 | | |
| |||
0 commit comments