summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kernel/API/Syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h
index eb27f678cd..019a471db9 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -489,6 +489,7 @@ struct SC_statvfs_params {
void initialize();
int sync();
+# if ARCH(I386) || ARCH(X86_64)
inline uintptr_t invoke(Function function)
{
uintptr_t result;
@@ -542,6 +543,7 @@ inline uintptr_t invoke(Function function, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
: "memory");
return result;
}
+# endif
#endif
}