]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add more constants to Linux <sys/reboot.h>
authorAndreas Jaeger <aj@suse.de>
Wed, 23 May 2012 18:16:00 +0000 (20:16 +0200)
committerAndreas Jaeger <aj@suse.de>
Wed, 23 May 2012 18:16:00 +0000 (20:16 +0200)
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.

ChangeLog
sysdeps/unix/sysv/linux/sys/reboot.h

index 14f37cf9bcafe61723cb989a000a640ca180f23b..ab414245d48dabfeaebd451655e4f3b0b3c6ddf0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
 
        * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
index bc685aebbf4d6fdf97726bb8fa601ac721b1e227..39a151f586d93221f70ba0f598fe1ed4e99fb130 100644 (file)
@@ -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
 /* 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.  */