| .. | .. |
|---|
| 11 | 11 | #include <asm/asm-offsets.h> |
|---|
| 12 | 12 | #include <asm/page.h> |
|---|
| 13 | 13 | #include <asm/sigp.h> |
|---|
| 14 | +#include <asm/ptrace.h> |
|---|
| 14 | 15 | |
|---|
| 15 | 16 | /* The purgatory is the code running between two kernels. It's main purpose |
|---|
| 16 | 17 | * is to verify that the next kernel was not corrupted after load and to |
|---|
| .. | .. |
|---|
| 89 | 90 | .base_crash: |
|---|
| 90 | 91 | |
|---|
| 91 | 92 | /* Setup stack */ |
|---|
| 92 | | - larl %r15,purgatory_end |
|---|
| 93 | | - aghi %r15,-160 |
|---|
| 93 | + larl %r15,purgatory_end-STACK_FRAME_OVERHEAD |
|---|
| 94 | 94 | |
|---|
| 95 | 95 | /* If the next kernel is KEXEC_TYPE_CRASH the purgatory is called |
|---|
| 96 | 96 | * directly with a flag passed in %r2 whether the purgatory shall do |
|---|