Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
73f46964
Commit
73f46964
authored
Jul 17, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: Fix for 32 bit ELF timeval handling, from sparc64
parent
234a9a38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
arch/ppc64/kernel/binfmt_elf32.c
arch/ppc64/kernel/binfmt_elf32.c
+10
-0
No files found.
arch/ppc64/kernel/binfmt_elf32.c
View file @
73f46964
...
...
@@ -62,6 +62,16 @@ struct elf_prpsinfo32
char
pr_psargs
[
ELF_PRARGSZ
];
/* initial part of arg list */
};
#include <linux/time.h>
#define jiffies_to_timeval jiffies_to_timeval32
static
__inline__
void
jiffies_to_timeval32
(
unsigned
long
jiffies
,
struct
timeval32
*
value
)
{
value
->
tv_usec
=
(
jiffies
%
HZ
)
*
(
1000000L
/
HZ
);
value
->
tv_sec
=
jiffies
/
HZ
;
}
extern
void
start_thread32
(
struct
pt_regs
*
,
unsigned
long
,
unsigned
long
);
#undef start_thread
#define start_thread start_thread32
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment