Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
0f17d074
Commit
0f17d074
authored
Oct 12, 2005
by
Stephen Rothwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powerpc: make 64 bit binaries work
Signed-off-by:
Stephen Rothwell
<
sfr@canb.auug.org.au
>
parent
70620186
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
arch/powerpc/kernel/process.c
arch/powerpc/kernel/process.c
+1
-5
No files found.
arch/powerpc/kernel/process.c
View file @
0f17d074
...
@@ -620,7 +620,7 @@ void start_thread(struct pt_regs *regs, unsigned long start, unsigned long sp)
...
@@ -620,7 +620,7 @@ void start_thread(struct pt_regs *regs, unsigned long start, unsigned long sp)
regs
->
nip
=
start
;
regs
->
nip
=
start
;
regs
->
msr
=
MSR_USER
;
regs
->
msr
=
MSR_USER
;
#else
#else
if
(
test_thread_flag
(
TIF_32BIT
))
{
{
unsigned
long
entry
,
toc
,
load_addr
=
regs
->
gpr
[
2
];
unsigned
long
entry
,
toc
,
load_addr
=
regs
->
gpr
[
2
];
/* start is a relocated pointer to the function descriptor for
/* start is a relocated pointer to the function descriptor for
...
@@ -641,10 +641,6 @@ void start_thread(struct pt_regs *regs, unsigned long start, unsigned long sp)
...
@@ -641,10 +641,6 @@ void start_thread(struct pt_regs *regs, unsigned long start, unsigned long sp)
regs
->
nip
=
entry
;
regs
->
nip
=
entry
;
regs
->
gpr
[
2
]
=
toc
;
regs
->
gpr
[
2
]
=
toc
;
regs
->
msr
=
MSR_USER64
;
regs
->
msr
=
MSR_USER64
;
}
else
{
regs
->
nip
=
start
;
regs
->
gpr
[
2
]
=
0
;
regs
->
msr
=
MSR_USER32
;
}
}
#endif
#endif
...
...
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