mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 09:36:57 +07:00
5a116dd279
Use the kernel bitmap library for internal perf tools uses. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Steven Rostedt <rostedt@goodmis.org> LKML-Reference: <1255792354-11304-1-git-send-email-fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
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
|