From 28c1654615d322517d21f3e894c26be3ce9abbf9 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 17 Jul 2007 13:48:41 +0000 Subject: do not use _syscallX macros(), they are not available anymore, use syscall() function instead --- mdk-stage1/init.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mdk-stage1/init.c') diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c index c053a84d2..3a815a328 100644 --- a/mdk-stage1/init.c +++ b/mdk-stage1/init.c @@ -38,8 +38,9 @@ #include #include -static inline _syscall3(int, syslog, int, type, char *, bufp, int, len); -static inline _syscall3(int, reboot, int, magic, int, magic2, int, flag); +#include +#define syslog(...) syscall(__NR_syslog, __VA_ARGS__) +#define reboot(...) syscall(__NR_reboot, __VA_ARGS__) #else #include INIT_HEADERS #endif -- cgit v1.2.1