| .. | .. |
|---|
| 39 | 39 | * +-----------------------+ -------- |
|---|
| 40 | 40 | */ |
|---|
| 41 | 41 | |
|---|
| 42 | +#define NO_SYSCALL (-1) |
|---|
| 43 | + |
|---|
| 42 | 44 | #ifndef __ASSEMBLY__ |
|---|
| 43 | 45 | |
|---|
| 44 | 46 | #include <asm/coprocessor.h> |
|---|
| .. | .. |
|---|
| 78 | 80 | unsigned long areg[16]; |
|---|
| 79 | 81 | }; |
|---|
| 80 | 82 | |
|---|
| 81 | | -#include <variant/core.h> |
|---|
| 83 | +#include <asm/core.h> |
|---|
| 82 | 84 | |
|---|
| 83 | 85 | # define arch_has_single_step() (1) |
|---|
| 84 | 86 | # define task_pt_regs(tsk) ((struct pt_regs*) \ |
|---|
| .. | .. |
|---|
| 100 | 102 | |
|---|
| 101 | 103 | #define user_stack_pointer(regs) ((regs)->areg[1]) |
|---|
| 102 | 104 | |
|---|
| 105 | +static inline unsigned long regs_return_value(struct pt_regs *regs) |
|---|
| 106 | +{ |
|---|
| 107 | + return regs->areg[2]; |
|---|
| 108 | +} |
|---|
| 109 | + |
|---|
| 103 | 110 | #else /* __ASSEMBLY__ */ |
|---|
| 104 | 111 | |
|---|
| 105 | 112 | # include <asm/asm-offsets.h> |
|---|