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
42fe7ee3
Commit
42fe7ee3
authored
Jan 28, 2009
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: R2: Fix broken installation of cache error handler.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
634286f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
arch/mips/kernel/traps.c
arch/mips/kernel/traps.c
+6
-2
No files found.
arch/mips/kernel/traps.c
View file @
42fe7ee3
...
...
@@ -1582,7 +1582,11 @@ void __init set_handler(unsigned long offset, void *addr, unsigned long size)
static
char
panic_null_cerr
[]
__cpuinitdata
=
"Trying to set NULL cache error exception handler"
;
/* Install uncached CPU exception handler */
/*
* Install uncached CPU exception handler.
* This is suitable only for the cache error exception which is the only
* exception handler that is being run uncached.
*/
void
__cpuinit
set_uncached_handler
(
unsigned
long
offset
,
void
*
addr
,
unsigned
long
size
)
{
...
...
@@ -1593,7 +1597,7 @@ void __cpuinit set_uncached_handler(unsigned long offset, void *addr,
unsigned
long
uncached_ebase
=
TO_UNCAC
(
ebase
);
#endif
if
(
cpu_has_mips_r2
)
ebase
+=
(
read_c0_ebase
()
&
0x3ffff000
);
uncached_
ebase
+=
(
read_c0_ebase
()
&
0x3ffff000
);
if
(
!
addr
)
panic
(
panic_null_cerr
);
...
...
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