linux/arch/s390/oprofile
Jan Glauber 43a679d6c9 [S390] s390,oprofile: fix compile error for !CONFIG_SMP
Use ctl_set_bit instead of the smp_ctl_set_bit (likewise for clear bit)
to prevent the following build error for !CONFIG_SMP:

  CC      arch/s390/oprofile/hwsampler.o
arch/s390/oprofile/hwsampler.c: In function ‘hwsampler_deallocate’:
arch/s390/oprofile/hwsampler.c:1012: error: implicit declaration of function ‘smp_ctl_clear_bit’
arch/s390/oprofile/hwsampler.c: In function ‘hwsampler_start_all’:
arch/s390/oprofile/hwsampler.c:1201: error: implicit declaration of function ‘smp_ctl_set_bit’
  CC      kernel/seccomp.o
make[1]: *** [arch/s390/oprofile/hwsampler.o] Error 1
make: *** [arch/s390/oprofile] Error 2

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2011-05-23 10:24:32 +02:00
..
backtrace.c [PATCH] s390: add oprofile callgraph support 2006-01-06 08:33:50 -08:00
hwsampler.c [S390] s390,oprofile: fix compile error for !CONFIG_SMP 2011-05-23 10:24:32 +02:00
hwsampler.h [S390] oprofile: fix min/max interval query checks 2011-05-10 17:13:43 +02:00
init.c [S390] oprofile: fix min/max interval query checks 2011-05-10 17:13:43 +02:00
Makefile [S390] oprofile: disable hw sampling for CONFIG_32BIT 2011-03-23 10:15:14 +01:00