summaryrefslogtreecommitdiff
path: root/sys-process/unixtop/files/unixtop-3.8_beta1-recent-linux.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
commit9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch)
tree8ac67e26b45f34d71c5aab3621813b100a0d5f00 /sys-process/unixtop/files/unixtop-3.8_beta1-recent-linux.patch
parentf516638b7fe9592837389826a6152a7e1b251c54 (diff)
gentoo resync : 13.06.2020
Diffstat (limited to 'sys-process/unixtop/files/unixtop-3.8_beta1-recent-linux.patch')
-rw-r--r--sys-process/unixtop/files/unixtop-3.8_beta1-recent-linux.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-process/unixtop/files/unixtop-3.8_beta1-recent-linux.patch b/sys-process/unixtop/files/unixtop-3.8_beta1-recent-linux.patch
new file mode 100644
index 000000000000..f3777dacb80a
--- /dev/null
+++ b/sys-process/unixtop/files/unixtop-3.8_beta1-recent-linux.patch
@@ -0,0 +1,13 @@
+grab PAGE_SHIFT from a location where it is defined nowadays
+
+--- a/machine/m_linux.c
++++ b/machine/m_linux.c
+@@ -68,7 +68,7 @@
+ #include <sys/vfs.h>
+
+ #include <sys/param.h> /* for HZ */
+-#include <asm/page.h> /* for PAGE_SHIFT */
++#include <sys/user.h> /* for PAGE_SHIFT */
+
+ #if 0
+ #include <linux/proc_fs.h> /* for PROC_SUPER_MAGIC */