Skip to content

Commit

Permalink
[S390] improve irq tracing code in entry[64].S
Browse files Browse the repository at this point in the history
The system call path in entry[64].S is run with interrupts enabled.
Remove the irq tracing check from the system call exit code. If a
program check interrupted a context enabled for interrupts do a
call to trace_irq_off_caller in the program check handler before
branching to the system call exit code.
Restructure the system call and io interrupt return code to avoid
avoid the lpsw[e] to disable machine checks.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Martin Schwidefsky authored and Martin Schwidefsky committed May 17, 2010
1 parent 43d399d commit 6a2df3a
Show file tree
Hide file tree
Showing 4 changed files with 183 additions and 228 deletions.
5 changes: 0 additions & 5 deletions arch/s390/include/asm/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -459,11 +459,6 @@ extern void (*_machine_power_off)(void);

#define arch_align_stack(x) (x)

#ifdef CONFIG_TRACE_IRQFLAGS
extern psw_t sysc_restore_trace_psw;
extern psw_t io_restore_trace_psw;
#endif

static inline int tprot(unsigned long addr)
{
int rc = -EFAULT;
Expand Down
Loading

0 comments on commit 6a2df3a

Please sign in to comment.