OpenCloudOS-Kernel/arch/s390/oprofile
Sebastian Ott a215c8fbde s390/oprofile: fix compile error
Fix these errors when compiling with CONFIG_OPROFILE=y and
CONFIG_PERF_EVENTS=n:
arch/s390/oprofile/init.c: In function ‘oprofile_hwsampler_start’:
arch/s390/oprofile/init.c:93:2: error: implicit declaration of function 'perf_reserve_sampling' [-Werror=implicit-function-declaration]
  retval = perf_reserve_sampling();
  ^
arch/s390/oprofile/init.c:99:3: error: implicit declaration of function 'perf_release_sampling' [-Werror=implicit-function-declaration]
   perf_release_sampling();
   ^

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-07-01 09:34:39 +02:00
..
Makefile s390: remove 31 bit support 2015-03-25 11:49:33 +01:00
backtrace.c s390: make use of user_mode() macro where possible 2012-07-30 11:03:12 +02:00
hwsampler.c s390: Replace __get_cpu_var uses 2014-08-26 13:45:52 -04:00
hwsampler.h s390/oprofile: move hwsampler interfaces to cpu_mf.h 2013-12-16 14:37:50 +01:00
init.c s390/oprofile: fix compile error 2015-07-01 09:34:39 +02:00
op_counter.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00