2 #include <linux/reboot.h>
4 #include "xlat/bootflags1.h"
5 #include "xlat/bootflags2.h"
6 #include "xlat/bootflags3.h"
9 sys_reboot(struct tcb *tcp)
14 printflags(bootflags1, tcp->u_arg[0], "LINUX_REBOOT_MAGIC_???");
16 printflags(bootflags2, tcp->u_arg[1], "LINUX_REBOOT_MAGIC_???");
18 printflags(bootflags3, tcp->u_arg[2], "LINUX_REBOOT_CMD_???");
19 if (tcp->u_arg[2] == LINUX_REBOOT_CMD_RESTART2) {
21 printstr(tcp, tcp->u_arg[3], -1);