John Blackwood ad0cf3478d perf: Fix incorrect copy_from_user() usage
perf events: repair incorrect use of copy_from_user

This makes the perf_event_period() return 0 instead of
-EFAULT on success.

Signed-off-by: John Blackwood<john.blackwood@ccur.com>
Signed-off-by: Joe Korty <joe.korty@ccur.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20100928220311.GA18145@tsunami.ccur.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-10-12 11:45:01 +02:00
..
2010-07-29 13:24:57 +02:00
2010-08-09 16:48:42 -04:00
2010-08-11 00:28:20 -04:00
2010-09-09 18:57:23 -07:00
2010-09-22 17:22:39 -07:00
2010-10-01 10:50:58 -07:00
2010-08-11 23:04:20 +09:30
2010-09-21 13:50:50 +02:00
2010-10-07 09:41:25 +02:00
2010-09-13 10:26:52 +02:00