浏览代码

[S390] Export uaccess as non-gpl symbol.

Commit c1821c2e9711adc3cd298a16b7237c92a2cee78d introduced the
uaccess structure that is used to select the correct set of user
copy functions for the different execution modes (standard vs.
noexec vs. z9 optimized user copy). The uaccess symbol is exported
with EXPORT_SYMBOL_GPL. This breaks all non-gpl modules that use
user copy. To make them work again change the export to
EXPORT_SYMBOL.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky 18 年之前
父节点
当前提交
d4ee453bcf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/s390/kernel/setup.c

+ 1 - 1
arch/s390/kernel/setup.c

@@ -65,7 +65,7 @@ long psw_user_bits	= (PSW_BASE_BITS | PSW_MASK_DAT | PSW_ASC_HOME |
  * User copy operations.
  * User copy operations.
  */
  */
 struct uaccess_ops uaccess;
 struct uaccess_ops uaccess;
-EXPORT_SYMBOL_GPL(uaccess);
+EXPORT_SYMBOL(uaccess);
 
 
 /*
 /*
  * Machine setup..
  * Machine setup..