time.c (72aaf09fda49f5919d98d65d35e5179f3acb0497) time.c (320ab2b0b1e08e3805a3e1084a2f0eb1938d5d67)
1/*
2 * arch/s390/kernel/time.c
3 * Time of day based timer functions.
4 *
5 * S390 version
6 * Copyright IBM Corp. 1999, 2008
7 * Author(s): Hartmut Penner (hp@de.ibm.com),
8 * Martin Schwidefsky (schwidefsky@de.ibm.com),

--- 140 unchanged lines hidden (view full) ---

149 cd = &per_cpu(comparators, cpu);
150 cd->name = "comparator";
151 cd->features = CLOCK_EVT_FEAT_ONESHOT;
152 cd->mult = 16777;
153 cd->shift = 12;
154 cd->min_delta_ns = 1;
155 cd->max_delta_ns = LONG_MAX;
156 cd->rating = 400;
1/*
2 * arch/s390/kernel/time.c
3 * Time of day based timer functions.
4 *
5 * S390 version
6 * Copyright IBM Corp. 1999, 2008
7 * Author(s): Hartmut Penner (hp@de.ibm.com),
8 * Martin Schwidefsky (schwidefsky@de.ibm.com),

--- 140 unchanged lines hidden (view full) ---

149 cd = &per_cpu(comparators, cpu);
150 cd->name = "comparator";
151 cd->features = CLOCK_EVT_FEAT_ONESHOT;
152 cd->mult = 16777;
153 cd->shift = 12;
154 cd->min_delta_ns = 1;
155 cd->max_delta_ns = LONG_MAX;
156 cd->rating = 400;
157 cd->cpumask = cpumask_of_cpu(cpu);
157 cd->cpumask = cpumask_of(cpu);
158 cd->set_next_event = s390_next_event;
159 cd->set_mode = s390_set_mode;
160
161 clockevents_register_device(cd);
162
163 /* Enable clock comparator timer interrupt. */
164 __ctl_set_bit(0,11);
165

--- 1475 unchanged lines hidden ---
158 cd->set_next_event = s390_next_event;
159 cd->set_mode = s390_set_mode;
160
161 clockevents_register_device(cd);
162
163 /* Enable clock comparator timer interrupt. */
164 __ctl_set_bit(0,11);
165

--- 1475 unchanged lines hidden ---