]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/oprofile/nmi_timer_int.c
Merge branch 'perf/urgent' into perf/core
[karo-tx-linux.git] / arch / x86 / oprofile / nmi_timer_int.c
index e3ecb71b5790228073d5eb089f4a4fc9303ab09a..0636dd93cef8d64a718124ddfa7c5a02edd2174f 100644 (file)
@@ -58,9 +58,6 @@ static void timer_stop(void)
 
 int __init op_nmi_timer_init(struct oprofile_operations *ops)
 {
-       if ((nmi_watchdog != NMI_IO_APIC) || (atomic_read(&nmi_active) <= 0))
-               return -ENODEV;
-
        ops->start = timer_start;
        ops->stop = timer_stop;
        ops->cpu_type = "timer";