x86: uaccess: fix compilation error on CONFIG_M386
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Thu, 29 Jan 2009 19:49:18 +0000 (11:49 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 29 Jan 2009 20:29:02 +0000 (21:29 +0100)
commit019a1369667c3978f9644982ebe6d261dd2bbc40
tree14f978e6de4f01be4339354023b3725f0263cc7a
parent3b4b75700a245d0d48fc52a4d2f67d3155812aba
x86: uaccess: fix compilation error on CONFIG_M386

In case of !CONFIG_X86_WP_WORKS_OK, __put_user_size_ex() is not defined.
Add macros for !CONFIG_X86_WP_WORKS_OK case.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/uaccess.h