summaryrefslogtreecommitdiff
path: root/fs/compat_binfmt_elf.c
diff options
context:
space:
mode:
authorAndrey Konovalov <andrey.konovalov@linaro.org>2015-02-12 12:10:43 +0800
committerAndrey Konovalov <andrey.konovalov@linaro.org>2015-02-12 12:10:43 +0800
commite4defad15a7b6b539d050573c12c21dcb621098a (patch)
tree4702848599f25adf4349ba15e343874acaf44458 /fs/compat_binfmt_elf.c
parented978b61653877103e33b5480df8619a3ea62fa1 (diff)
parent0b5ed2617ffc868673c7916e7469294e5cc2128d (diff)
Merge branch 'tracking-ilp32' into merge-linux-linaroll-20150212.1
Diffstat (limited to 'fs/compat_binfmt_elf.c')
-rw-r--r--fs/compat_binfmt_elf.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/fs/compat_binfmt_elf.c b/fs/compat_binfmt_elf.c
index 4d24d17bcfc1..83079272ec85 100644
--- a/fs/compat_binfmt_elf.c
+++ b/fs/compat_binfmt_elf.c
@@ -130,6 +130,23 @@ static void cputime_to_compat_timeval(const cputime_t cputime,
#define arch_setup_additional_pages compat_arch_setup_additional_pages
#endif
+
+#ifdef COMPAT_PR_REG_SIZE
+#define PR_REG_SIZE COMPAT_PR_REG_SIZE
+#endif
+
+#ifdef COMPAT_PRSTATUS_SIZE
+#define PRSTATUS_SIZE COMPAT_PRSTATUS_SIZE
+#endif
+
+#ifdef COMPAT_PR_REG_PTR
+#define PR_REG_PTR COMPAT_PR_REG_PTR
+#endif
+
+#ifdef COMPAT_SET_PR_FPVALID
+#define SET_PR_FPVALID COMPAT_SET_PR_FPVALID
+#endif
+
/*
* Rename a few of the symbols that binfmt_elf.c will define.
* These are all local so the names don't really matter, but it