s390: remove 31 bit support
[sfrench/cifs-2.6.git] / arch / s390 / oprofile / init.c
index 9ffe645d59898cbe5e9e88f95c9a08342b91bb00..bc927a09a172b6d6699cf60610cde600d4c73e74 100644 (file)
@@ -21,8 +21,6 @@
 
 extern void s390_backtrace(struct pt_regs * const regs, unsigned int depth);
 
-#ifdef CONFIG_64BIT
-
 #include "hwsampler.h"
 #include "op_counter.h"
 
@@ -495,14 +493,10 @@ static void oprofile_hwsampler_exit(void)
        hwsampler_shutdown();
 }
 
-#endif /* CONFIG_64BIT */
-
 int __init oprofile_arch_init(struct oprofile_operations *ops)
 {
        ops->backtrace = s390_backtrace;
 
-#ifdef CONFIG_64BIT
-
        /*
         * -ENODEV is not reported to the caller.  The module itself
          * will use the timer mode sampling as fallback and this is
@@ -511,14 +505,9 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
        hwsampler_available = oprofile_hwsampler_init(ops) == 0;
 
        return 0;
-#else
-       return -ENODEV;
-#endif
 }
 
 void oprofile_arch_exit(void)
 {
-#ifdef CONFIG_64BIT
        oprofile_hwsampler_exit();
-#endif
 }