diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-09-15 06:18:15 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-15 06:18:15 -0400 |
commit | dca2d6ac09d9ef59ff46820d4f0c94b08a671202 (patch) | |
tree | fdec753b842dad09e3a4151954fab3eb5c43500d /arch/s390/kernel/debug.c | |
parent | d6a65dffb30d8636b1e5d4c201564ef401a246cf (diff) | |
parent | 18240904960a39e582ced8ba8ececb10b8c22dd3 (diff) |
Merge branch 'linus' into tracing/hw-breakpoints
Conflicts:
arch/x86/kernel/process_64.c
Semantic conflict fixed in:
arch/x86/kvm/x86.c
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/s390/kernel/debug.c')
-rw-r--r-- | arch/s390/kernel/debug.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/s390/kernel/debug.c b/arch/s390/kernel/debug.c index be8bceaf37d9..4c512561687d 100644 --- a/arch/s390/kernel/debug.c +++ b/arch/s390/kernel/debug.c | |||
@@ -63,8 +63,6 @@ typedef struct | |||
63 | } debug_sprintf_entry_t; | 63 | } debug_sprintf_entry_t; |
64 | 64 | ||
65 | 65 | ||
66 | extern void tod_to_timeval(uint64_t todval, struct timespec *xtime); | ||
67 | |||
68 | /* internal function prototyes */ | 66 | /* internal function prototyes */ |
69 | 67 | ||
70 | static int debug_init(void); | 68 | static int debug_init(void); |
@@ -1450,17 +1448,13 @@ debug_dflt_header_fn(debug_info_t * id, struct debug_view *view, | |||
1450 | int area, debug_entry_t * entry, char *out_buf) | 1448 | int area, debug_entry_t * entry, char *out_buf) |
1451 | { | 1449 | { |
1452 | struct timespec time_spec; | 1450 | struct timespec time_spec; |
1453 | unsigned long long time; | ||
1454 | char *except_str; | 1451 | char *except_str; |
1455 | unsigned long caller; | 1452 | unsigned long caller; |
1456 | int rc = 0; | 1453 | int rc = 0; |
1457 | unsigned int level; | 1454 | unsigned int level; |
1458 | 1455 | ||
1459 | level = entry->id.fields.level; | 1456 | level = entry->id.fields.level; |
1460 | time = entry->id.stck; | 1457 | stck_to_timespec(entry->id.stck, &time_spec); |
1461 | /* adjust todclock to 1970 */ | ||
1462 | time -= 0x8126d60e46000000LL - (0x3c26700LL * 1000000 * 4096); | ||
1463 | tod_to_timeval(time, &time_spec); | ||
1464 | 1458 | ||
1465 | if (entry->id.fields.exception) | 1459 | if (entry->id.fields.exception) |
1466 | except_str = "*"; | 1460 | except_str = "*"; |