summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippo Arcidiacono <filippo.arcidiacono@st.com>2012-06-12 11:05:25 +0200
committerCarmelo Amoroso <carmelo.amoroso@st.com>2012-06-14 00:36:03 +0200
commitdc631e1281177736ee7b39f2d67ca84f8db0e483 (patch)
tree765ef6cb130e6b02504304d0ed434c8bcf417bf6
parent561ce7fb9f1d4813b5ae5d76c95c1c77ee20236f (diff)
libc: sh: fixed typo in ucontext header
Fixed typo in ucontext header, NFPREG wrongly defined twice instead of NGREG for general registers and NFPREG for floating point register. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
-rw-r--r--libc/sysdeps/linux/sh/sys/ucontext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sh/sys/ucontext.h b/libc/sysdeps/linux/sh/sys/ucontext.h
index 4ed2484bc..acf5ba777 100644
--- a/libc/sysdeps/linux/sh/sys/ucontext.h
+++ b/libc/sysdeps/linux/sh/sys/ucontext.h
@@ -32,10 +32,10 @@
typedef int greg_t;
/* Number of general registers. */
-#define NFPREG 16
+#define NGREG 16
/* Container for all general registers. */
-typedef greg_t gregset_t[NFPREG];
+typedef greg_t gregset_t[NGREG];
#ifdef __USE_GNU
/* Number of each register is the `gregset_t' array. */