projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
thp, vmstat: implement HZP_ALLOC and HZP_ALLOC_FAILED events
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
fs
/
binfmt_flat.c
diff --git
a/fs/binfmt_flat.c
b/fs/binfmt_flat.c
index
e280352
..
b563719
100644
(file)
--- a/
fs/binfmt_flat.c
+++ b/
fs/binfmt_flat.c
@@
-88,7
+88,7
@@
struct lib_info {
static int load_flat_shared_library(int id, struct lib_info *p);
#endif
static int load_flat_shared_library(int id, struct lib_info *p);
#endif
-static int load_flat_binary(struct linux_binprm *
, struct pt_regs * regs
);
+static int load_flat_binary(struct linux_binprm *);
static int flat_core_dump(struct coredump_params *cprm);
static struct linux_binfmt flat_format = {
static int flat_core_dump(struct coredump_params *cprm);
static struct linux_binfmt flat_format = {
@@
-858,9
+858,10
@@
out:
* libraries. There is no binary dependent code anywhere else.
*/
* libraries. There is no binary dependent code anywhere else.
*/
-static int load_flat_binary(struct linux_binprm * bprm
, struct pt_regs * regs
)
+static int load_flat_binary(struct linux_binprm * bprm)
{
struct lib_info libinfo;
{
struct lib_info libinfo;
+ struct pt_regs *regs = current_pt_regs();
unsigned long p = bprm->p;
unsigned long stack_len;
unsigned long start_addr;
unsigned long p = bprm->p;
unsigned long stack_len;
unsigned long start_addr;