blob: e21070c86493b752bb09eb331af007381b78614b (
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
29
30
31
32
33
34
35
36
|
Subject: mm: Make pagefault_dis/enable EXPORT_SYMBOL
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 04 Feb 2013 15:29:58 +0100
pagefault_dis/enable on !RT is an inline function and lets third party
drivers compile. Make RT behave the same way. Sigh, when will binary
modules finally die?
Requested-by: Clark Williams <williams@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
mm/memory.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux-stable/mm/memory.c
===================================================================
--- linux-stable.orig/mm/memory.c
+++ linux-stable/mm/memory.c
@@ -3495,7 +3495,7 @@ void pagefault_disable(void)
*/
barrier();
}
-EXPORT_SYMBOL_GPL(pagefault_disable);
+EXPORT_SYMBOL(pagefault_disable);
void pagefault_enable(void)
{
@@ -3507,7 +3507,7 @@ void pagefault_enable(void)
current->pagefault_disabled--;
migrate_enable();
}
-EXPORT_SYMBOL_GPL(pagefault_enable);
+EXPORT_SYMBOL(pagefault_enable);
#endif
/*
|