| 1 |
#include <asm/stacktrace.h> |
| 2 |
|
| 3 |
// Check to see if there is an <asm/stacktrace.h> |
| 4 |
// and a struc stack_frame defined. |
| 5 |
// Older kernels have struct stack_frame in <asm/processor.h>. |
| 6 |
int stack_frame_size(void); |
| 7 |
|
| 8 |
int stack_frame_size(void) { |
| 9 |
return sizeof(struct stack_frame); |
| 10 |
} |
| 11 |
|