From: Andreas Jaeger Date: Wed, 23 May 2012 18:16:00 +0000 (+0200) Subject: Add more constants to Linux X-Git-Tag: upstream/2.20~3834 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a09dc565db1da971ade18d9be7d9ac82646d599;p=platform%2Fupstream%2Flinaro-glibc.git Add more constants to Linux 2012-05-23 Andreas Jaeger Maximilian Attems * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC): New macros. --- diff --git a/ChangeLog b/ChangeLog index 14f37cf..ab41424 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-05-23 Andreas Jaeger + Maximilian Attems + + * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC): + New macros. + 2012-05-23 H.J. Lu * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange diff --git a/sysdeps/unix/sysv/linux/sys/reboot.h b/sysdeps/unix/sysv/linux/sys/reboot.h index bc685ae..39a151f 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. */