summaryrefslogtreecommitdiffstats
path: root/x86-Fix-the-highmem-fallout-really.patch
blob: 7010c35a9a05b2141ad7b180bd205278c4c65a67 (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
28
From e89fab2bf44afccaa48ffb8ae33c03f4f3dcd208 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 17 Mar 2010 15:47:14 -0700
Subject: [PATCH] x86: Fix the highmem fallout really

commit e89fab2bf44afccaa48ffb8ae33c03f4f3dcd208 in tip.

Bah, forgot to fix iomap_32.c along with the Kconfig

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

diff --git a/arch/x86/mm/iomap_32.c b/arch/x86/mm/iomap_32.c
index c889bad..d4fe51a 100644
--- a/arch/x86/mm/iomap_32.c
+++ b/arch/x86/mm/iomap_32.c
@@ -97,8 +97,7 @@ void __kunmap_atomic(void *kvaddr, enum km_type type)
 }
 EXPORT_SYMBOL(__kunmap_atomic);
 
-
-#ifndef CONFIG_PREEMPT_RT
+#if !defined(CONFIG_PREEMPT_RT) || defined(CONFIG_HIGHMEM)
 
 # ifndef CONFIG_HIGHMEM
 #  define kmap_atomic_prot_pfn(pfn, type, prot) \
-- 
1.7.1.1