Hello community,

here is the log from the commit of package crash for openSUSE:Factory checked 
in at 2016-07-14 09:49:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crash (Old)
 and      /work/SRC/openSUSE:Factory/.crash.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crash"

Changes:
--------
--- /work/SRC/openSUSE:Factory/crash/crash.changes      2016-06-07 
23:47:35.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.crash.new/crash.changes 2016-07-14 
09:50:06.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jul  8 08:32:10 UTC 2016 - mkube...@suse.cz
+
+- crash-kernel-4.7.patch:
+  support 4.7 kernel (page._count renamed to page._refcount)
+
+-------------------------------------------------------------------

New:
----
  crash-kernel-4.7.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ crash.spec ++++++
--- /var/tmp/diff_new_pack.6zyUks/_old  2016-07-14 09:50:08.000000000 +0200
+++ /var/tmp/diff_new_pack.6zyUks/_new  2016-07-14 09:50:08.000000000 +0200
@@ -71,6 +71,7 @@
 Patch13:        %{name}-patch-gdb.patch
 Patch15:        %{name}_enable_snappy_support.patch
 Patch16:        eppic-support-arm64.patch
+Patch17:        %{name}-kernel-4.7.patch
 Patch90:        %{name}-sial-ps-2.6.29.diff
 BuildRequires:  bison
 BuildRequires:  flex
@@ -262,6 +263,7 @@
 %if %{have_snappy}
 %patch15 -p1
 %endif
+%patch17 -p1
 ## GDB patches
 #for f in %{S:XXX} ; do
 #    base=`basename "$f"`


++++++ crash-kernel-4.7.patch ++++++
From: Dave Anderson <ander...@redhat.com>
Date: Mon, 23 May 2016 11:23:01 -0400
Subject: Fix for Linux commit
 0139aa7b7fa12ceef095d99dc36606a5b10ab83a, which renamed the page._count
 member to page._refcount.  Without the patch, certain "kmem" commands fail
 with the "kmem: invalid structure member offset: page_count".
 (ander...@redhat.com)
Patch-mainline: 7.1.6?
Git-commit: 8ceb1ac628bf6a0a7f0bbfff030ec93081bca4cd

---
 memory.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/memory.c b/memory.c
index 216038d2d803..bb29b315b708 100644
--- a/memory.c
+++ b/memory.c
@@ -434,6 +434,10 @@ vm_init(void)
                MEMBER_OFFSET_INIT(page_count, "page", "_count");
                if (INVALID_MEMBER(page_count))
                        ANON_MEMBER_OFFSET_INIT(page_count, "page", "_count");
+               if (INVALID_MEMBER(page_count))
+                       MEMBER_OFFSET_INIT(page_count, "page", "_refcount");
+               if (INVALID_MEMBER(page_count))
+                       ANON_MEMBER_OFFSET_INIT(page_count, "page", 
"_refcount");
        }
        MEMBER_OFFSET_INIT(page_flags, "page", "flags");
        MEMBER_SIZE_INIT(page_flags, "page", "flags");
-- 
2.9.0


Reply via email to