summaryrefslogtreecommitdiff
path: root/debian/patches/fix-locking0002-i386-fix-panic-message.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/fix-locking0002-i386-fix-panic-message.patch')
-rw-r--r--debian/patches/fix-locking0002-i386-fix-panic-message.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/fix-locking0002-i386-fix-panic-message.patch b/debian/patches/fix-locking0002-i386-fix-panic-message.patch
new file mode 100644
index 0000000..d21fb18
--- /dev/null
+++ b/debian/patches/fix-locking0002-i386-fix-panic-message.patch
@@ -0,0 +1,27 @@
+From 5d3ea1ab58d80f1e0c01a1a441c2847a1334a9ff Mon Sep 17 00:00:00 2001
+From: Justus Winter <4winter@informatik.uni-hamburg.de>
+Date: Mon, 17 Aug 2015 21:34:25 +0200
+Subject: [PATCH gnumach 2/3] i386: fix panic message
+
+* i386/intel/pmap.c (pmap_page_protect): Fix function name in panic
+message.
+---
+ i386/intel/pmap.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
+index dc9f360..5cfffb5 100644
+--- a/i386/intel/pmap.c
++++ b/i386/intel/pmap.c
+@@ -1597,7 +1597,7 @@ void pmap_page_protect(
+ * Remove the mapping, collecting any modify bits.
+ */
+ if (*pte & INTEL_PTE_WIRED)
+- panic("pmap_remove_all removing a wired page");
++ panic("pmap_page_protect removing a wired page");
+
+ {
+ int i = ptes_per_vm_page;
+--
+2.1.4
+