mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +00:00
Use the kernel bitmap library for internal perf tools uses. Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Steven Rostedt <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
15 lines
225 B
C
15 lines
225 B
C
#ifndef _PERF_ASM_UACCESS_H_
|
|
#define _PERF_ASM_UACCESS_H_
|
|
|
|
#define __get_user(src, dest) \
|
|
({ \
|
|
(src) = *dest; \
|
|
0; \
|
|
})
|
|
|
|
#define get_user __get_user
|
|
|
|
#define access_ok(type, addr, size) 1
|
|
|
|
#endif
|