From: H. Peter Anvin Date: Tue, 25 Sep 2012 22:42:18 +0000 (-0700) Subject: x86, smap: Do not abuse the [f][x]rstor_checking() functions for user space X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~68^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e139e95590dfebab81841bf7a3ac46500f51a47c;p=pandora-kernel.git x86, smap: Do not abuse the [f][x]rstor_checking() functions for user space With SMAP, the [f][x]rstor_checking() functions are no longer usable for user-space pointers by applying a simple __force cast. Instead, create new [f][x]rstor_user() functions which do the proper SMAP magic. Signed-off-by: H. Peter Anvin Cc: Suresh Siddha Link: http://lkml.kernel.org/r/1343171129-2747-3-git-send-email-suresh.b.siddha@intel.com --- Reading git-diff-tree failed