x86, mm: Change cachemode exports to non-gpl
authorJuergen Gross <jgross@suse.com>
Thu, 22 Jan 2015 11:43:17 +0000 (12:43 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 22 Jan 2015 20:50:14 +0000 (21:50 +0100)
commit31bb7723706ba9660504a6c3903ea46198f98fd1
tree190dd8587fb942bb72471bb4b06016ba8a7094a6
parent3669ef9fa7d35f573ec9c0e0341b29251c2734a7
x86, mm: Change cachemode exports to non-gpl

Commit 281d4078bec3 ("x86: Make page cache mode a real type")
introduced the symbols __cachemode2pte_tbl and __pte2cachemode_tbl and
exported them via EXPORT_SYMBOL_GPL.  The exports are part of a
replacement of code which has been EXPORT_SYMBOL before these changes
resulting in build breakage of out-of-tree non-gpl modules.

Change EXPORT_SYMBOL_GPL to EXPORT-SYMBOL for these two symbols.

Fixes: 281d4078bec3 "x86: Make page cache mode a real type"
Reported-and-tested-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Toshi Kani <toshi.kani@hp.com>
Link: http://lkml.kernel.org/r/1421926997-28615-1-git-send-email-jgross@suse.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/init.c