summaryrefslogtreecommitdiff
path: root/debian/patches/fix-locking0002-i386-fix-panic-message.patch
blob: d21fb18e3292da9400d886aa30c876ef5f1f9a5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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