]> sourceware.org Git - systemtap.git/commitdiff
PR26142: Adapt to linux/vermagic.h file hiding
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 30 Jun 2020 19:24:18 +0000 (15:24 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Tue, 30 Jun 2020 23:09:34 +0000 (19:09 -0400)
Linux commit 51161bfc66a68 (2020-04-19) enforces a convention of not
including <linux/vermagic.h> from normal source files.  Switch to
<generated/utsrelease.h>, which has UTS_RELEASE, which is all that we
really wanted anyway.

runtime/linux/runtime.h

index 9dd9256dee99240c70cac90433f2ce38b34ea672..cc5df8329ae4c67c950644397623cb4b5b5b917e 100644 (file)
@@ -28,7 +28,7 @@
 #include <linux/hardirq.h>
 #include <asm/uaccess.h>
 #include <linux/kallsyms.h>
-#include <linux/vermagic.h>
+#include <generated/utsrelease.h>
 #include <linux/utsname.h>
 #include <linux/version.h>
 #include <linux/compat.h>
This page took 0.0298 seconds and 5 git commands to generate.