| .. | .. |
|---|
| 13 | 13 | * Called on instruction fetch fault in vsyscall page. |
|---|
| 14 | 14 | * Returns true if handled. |
|---|
| 15 | 15 | */ |
|---|
| 16 | | -extern bool emulate_vsyscall(struct pt_regs *regs, unsigned long address); |
|---|
| 16 | +extern bool emulate_vsyscall(unsigned long error_code, |
|---|
| 17 | + struct pt_regs *regs, unsigned long address); |
|---|
| 17 | 18 | #else |
|---|
| 18 | 19 | static inline void map_vsyscall(void) {} |
|---|
| 19 | | -static inline bool emulate_vsyscall(struct pt_regs *regs, unsigned long address) |
|---|
| 20 | +static inline bool emulate_vsyscall(unsigned long error_code, |
|---|
| 21 | + struct pt_regs *regs, unsigned long address) |
|---|
| 20 | 22 | { |
|---|
| 21 | 23 | return false; |
|---|
| 22 | 24 | } |
|---|