aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2008-04-17 01:46:25 -0400
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-04-17 01:47:05 -0400
commit5a62b192196af9a798e2f2f4c6a1324e7edf2f4b (patch)
tree0aa96ba3153b257000be22e49befbde2b5bd6917 /include
parentd7b906897e9caae452947e33674df0a2d6f7e10f (diff)
[S390] Convert s390 to GENERIC_CLOCKEVENTS.
This way we get rid of s390's NO_IDLE_HZ and use the generic dynticks variant instead. In addition we get high resolution timers for free. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-s390/hardirq.h2
-rw-r--r--include/asm-s390/lowcore.h6
2 files changed, 3 insertions, 5 deletions
diff --git a/include/asm-s390/hardirq.h b/include/asm-s390/hardirq.h
index 31beb18cb3d..4b7cb964ff3 100644
--- a/include/asm-s390/hardirq.h
+++ b/include/asm-s390/hardirq.h
@@ -32,6 +32,6 @@ typedef struct {
32 32
33#define HARDIRQ_BITS 8 33#define HARDIRQ_BITS 8
34 34
35extern void account_ticks(u64 time); 35void clock_comparator_work(void);
36 36
37#endif /* __ASM_HARDIRQ_H */ 37#endif /* __ASM_HARDIRQ_H */
diff --git a/include/asm-s390/lowcore.h b/include/asm-s390/lowcore.h
index 801a6fd35b5..6baa51b8683 100644
--- a/include/asm-s390/lowcore.h
+++ b/include/asm-s390/lowcore.h
@@ -80,7 +80,6 @@
80#define __LC_CPUID 0xC60 80#define __LC_CPUID 0xC60
81#define __LC_CPUADDR 0xC68 81#define __LC_CPUADDR 0xC68
82#define __LC_IPLDEV 0xC7C 82#define __LC_IPLDEV 0xC7C
83#define __LC_JIFFY_TIMER 0xC80
84#define __LC_CURRENT 0xC90 83#define __LC_CURRENT 0xC90
85#define __LC_INT_CLOCK 0xC98 84#define __LC_INT_CLOCK 0xC98
86#else /* __s390x__ */ 85#else /* __s390x__ */
@@ -103,7 +102,6 @@
103#define __LC_CPUID 0xD80 102#define __LC_CPUID 0xD80
104#define __LC_CPUADDR 0xD88 103#define __LC_CPUADDR 0xD88
105#define __LC_IPLDEV 0xDB8 104#define __LC_IPLDEV 0xDB8
106#define __LC_JIFFY_TIMER 0xDC0
107#define __LC_CURRENT 0xDD8 105#define __LC_CURRENT 0xDD8
108#define __LC_INT_CLOCK 0xDE8 106#define __LC_INT_CLOCK 0xDE8
109#endif /* __s390x__ */ 107#endif /* __s390x__ */
@@ -276,7 +274,7 @@ struct _lowcore
276 /* entry.S sensitive area end */ 274 /* entry.S sensitive area end */
277 275
278 /* SMP info area: defined by DJB */ 276 /* SMP info area: defined by DJB */
279 __u64 jiffy_timer; /* 0xc80 */ 277 __u64 clock_comparator; /* 0xc80 */
280 __u32 ext_call_fast; /* 0xc88 */ 278 __u32 ext_call_fast; /* 0xc88 */
281 __u32 percpu_offset; /* 0xc8c */ 279 __u32 percpu_offset; /* 0xc8c */
282 __u32 current_task; /* 0xc90 */ 280 __u32 current_task; /* 0xc90 */
@@ -368,7 +366,7 @@ struct _lowcore
368 /* entry.S sensitive area end */ 366 /* entry.S sensitive area end */
369 367
370 /* SMP info area: defined by DJB */ 368 /* SMP info area: defined by DJB */
371 __u64 jiffy_timer; /* 0xdc0 */ 369 __u64 clock_comparator; /* 0xdc0 */
372 __u64 ext_call_fast; /* 0xdc8 */ 370 __u64 ext_call_fast; /* 0xdc8 */
373 __u64 percpu_offset; /* 0xdd0 */ 371 __u64 percpu_offset; /* 0xdd0 */
374 __u64 current_task; /* 0xdd8 */ 372 __u64 current_task; /* 0xdd8 */