about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sys
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2012-05-23 20:16:00 +0200
committerAndreas Jaeger <aj@suse.de>2012-05-23 20:16:00 +0200
commit1a09dc565db1da971ade18d9be7d9ac82646d599 (patch)
tree099b10b8a572707b7aef7b952a58c9689cf35c69 /sysdeps/unix/sysv/linux/sys
parent1c87aba0f2949199382c193ae584fa034b49a0db (diff)
downloadglibc-1a09dc565db1da971ade18d9be7d9ac82646d599.tar.gz
glibc-1a09dc565db1da971ade18d9be7d9ac82646d599.tar.xz
glibc-1a09dc565db1da971ade18d9be7d9ac82646d599.zip
Add more constants to Linux <sys/reboot.h>
2012-05-23  Andreas Jaeger  <aj@suse.de>
	    Maximilian Attems  <max@stro.at>

	* sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND,
	RB_KEXEC):
	New macros.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys')
-rw-r--r--sysdeps/unix/sysv/linux/sys/reboot.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/reboot.h b/sysdeps/unix/sysv/linux/sys/reboot.h
index bc685aebbf..39a151f586 100644
--- a/sysdeps/unix/sysv/linux/sys/reboot.h
+++ b/sysdeps/unix/sysv/linux/sys/reboot.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -38,6 +38,12 @@
 /* Stop system and switch power off if possible.  */
 #define RB_POWER_OFF	0x4321fedc
 
+/* Suspend system using software suspend.  */
+#define RB_SW_SUSPEND	0xd000fce2
+
+/* Reboot system into new kernel.  */
+#define RB_KEXEC	0x45584543
+
 __BEGIN_DECLS
 
 /* Reboot or halt the system.  */