Add layer to support Jailhouse hypervisor
[AGL/meta-agl-devel.git] / meta-agl-jailhouse / recipes-kernel / linux / linux / 0005-mm-Re-export-ioremap_page_range.patch
1 From cf5d27beb6aad2b69d716b0aee08f43619c338a9 Mon Sep 17 00:00:00 2001
2 From: Jan Kiszka <jan.kiszka@siemens.com>
3 Date: Tue, 7 Feb 2017 17:52:00 +0100
4 Subject: [PATCH 05/32] mm: Re-export ioremap_page_range
5
6 We need this in Jailhouse to map at specific virtual addresses, at
7 least for the moment.
8
9 Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
10 ---
11  lib/ioremap.c | 1 +
12  1 file changed, 1 insertion(+)
13
14 diff --git a/lib/ioremap.c b/lib/ioremap.c
15 index 0a2ffadc6d71..baefdda8f32c 100644
16 --- a/lib/ioremap.c
17 +++ b/lib/ioremap.c
18 @@ -231,3 +231,4 @@ int ioremap_page_range(unsigned long addr,
19  
20         return err;
21  }
22 +EXPORT_SYMBOL_GPL(ioremap_page_range);
23 -- 
24 2.11.0
25