forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
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 }