hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/arch/x86/include/asm/vsyscall.h
....@@ -13,10 +13,12 @@
1313 * Called on instruction fetch fault in vsyscall page.
1414 * Returns true if handled.
1515 */
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);
1718 #else
1819 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)
2022 {
2123 return false;
2224 }