diff --git a/scripts/gen_syscalls.py b/scripts/gen_syscalls.py index 90c9dea..a60bf31 100755 --- a/scripts/gen_syscalls.py +++ b/scripts/gen_syscalls.py @@ -147,7 +147,7 @@ def main(): whitelist = set(["kernel.h", "kobject.h", "device.h", "uart.h", "mutex.h", "errno_private.h", "eeprom.h", "time.h"]) includes = ["kernel.h", "device.h", "drivers/uart.h", "sys/mutex.h", "sys/errno_private.h", "drivers/eeprom.h", "posix/time.h"] - for match_group, fn in syscalls: + for match_group, fn, to_emit in syscalls: if fn not in whitelist: continue include = "syscalls/%s" % fn