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
Kirill Smelkov
linux
Commits
95980dc7
Commit
95980dc7
authored
Jun 27, 2002
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: work around the fact that the PPC601 doesn't implement the MSR.RI bit
parent
8e5aaa9b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
arch/ppc/kernel/entry.S
arch/ppc/kernel/entry.S
+4
-0
arch/ppc/kernel/head.S
arch/ppc/kernel/head.S
+6
-1
No files found.
arch/ppc/kernel/entry.S
View file @
95980dc7
...
...
@@ -672,6 +672,10 @@ nonrecoverable:
mr
r12
,
r11
/*
restart
at
exc_exit_restart
*/
blr
3
:
/
*
OK
,
we
can
't recover, kill this process */
/
*
but
the
601
doesn
't implement the RI bit, so assume it'
s
OK
*/
BEGIN_FTR_SECTION
blr
END_FTR_SECTION_IFSET
(
CPU_FTR_601
)
lwz
r3
,
TRAP
(
r1
)
andi
.
r0
,
r3
,
1
beq
4
f
...
...
arch/ppc/kernel/head.S
View file @
95980dc7
...
...
@@ -832,7 +832,12 @@ fast_exception_return:
/*
aargh
,
a
nonrecoverable
interrupt
,
panic
*/
/*
aargh
,
we
don
't know which trap this is */
3
:
li
r10
,
0
/*
but
the
601
doesn
't implement the RI bit, so assume it'
s
OK
*/
3
:
BEGIN_FTR_SECTION
b
2
b
END_FTR_SECTION_IFSET
(
CPU_FTR_601
)
li
r10
,-
1
stw
r10
,
TRAP
(
r11
)
addi
r3
,
r1
,
STACK_FRAME_OVERHEAD
li
r10
,
MSR_KERNEL
...
...
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