]> err.no Git - linux-2.6/blobdiff - arch/s390/kernel/time.c
Driver core: change sysdev classes to use dynamic kobject names
[linux-2.6] / arch / s390 / kernel / time.c
index a963fe81359e5bc2795ee0540b4fef600121fa20..3bbac1293be45d020ffbb703f74c8c8272ff70ad 100644 (file)
@@ -145,12 +145,8 @@ void account_ticks(u64 time)
        do_timer(ticks);
 #endif
 
-#ifdef CONFIG_VIRT_CPU_ACCOUNTING
-       account_tick_vtime(current);
-#else
        while (ticks--)
                update_process_times(user_mode(get_irq_regs()));
-#endif
 
        s390_do_profile();
 }
@@ -1149,7 +1145,7 @@ static void etr_work_fn(struct work_struct *work)
  * Sysfs interface functions
  */
 static struct sysdev_class etr_sysclass = {
-       set_kset_name("etr")
+       .name   = "etr",
 };
 
 static struct sys_device etr_port0_dev = {