Skip to content
Commit 1ac2e6ca authored by Robert Richter's avatar Robert Richter Committed by Ingo Molnar
Browse files

x86, perf: Make copy_from_user_nmi() a library function



copy_from_user_nmi() is used in oprofile and perf. Moving it to other
library functions like copy_from_user(). As this is x86 code for 32
and 64 bits, create a new file usercopy.c for unified code.

Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20110607172413.GJ20052@erda.amd.com


Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 9985c20f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment