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
b8850a8c
Commit
b8850a8c
authored
Apr 12, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5
parents
a94538ff
3f80b96b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
arch/sparc/kernel/traps.c
arch/sparc/kernel/traps.c
+4
-5
arch/sparc/mm/srmmu.c
arch/sparc/mm/srmmu.c
+2
-2
No files found.
arch/sparc/kernel/traps.c
View file @
b8850a8c
...
@@ -153,6 +153,7 @@ void do_hw_interrupt(unsigned long type, unsigned long psr, unsigned long pc)
...
@@ -153,6 +153,7 @@ void do_hw_interrupt(unsigned long type, unsigned long psr, unsigned long pc)
void
do_illegal_instruction
(
struct
pt_regs
*
regs
,
unsigned
long
pc
,
unsigned
long
npc
,
void
do_illegal_instruction
(
struct
pt_regs
*
regs
,
unsigned
long
pc
,
unsigned
long
npc
,
unsigned
long
psr
)
unsigned
long
psr
)
{
{
extern
int
do_user_muldiv
(
struct
pt_regs
*
,
unsigned
long
);
siginfo_t
info
;
siginfo_t
info
;
if
(
psr
&
PSR_PS
)
if
(
psr
&
PSR_PS
)
...
@@ -161,11 +162,9 @@ void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned lon
...
@@ -161,11 +162,9 @@ void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned lon
printk
(
"Ill instr. at pc=%08lx instruction is %08lx
\n
"
,
printk
(
"Ill instr. at pc=%08lx instruction is %08lx
\n
"
,
regs
->
pc
,
*
(
unsigned
long
*
)
regs
->
pc
);
regs
->
pc
,
*
(
unsigned
long
*
)
regs
->
pc
);
#endif
#endif
if
(
sparc_cpu_model
==
sun4c
||
sparc_cpu_model
==
sun4
)
{
if
(
!
do_user_muldiv
(
regs
,
pc
))
extern
int
do_user_muldiv
(
struct
pt_regs
*
,
unsigned
long
);
return
;
if
(
!
do_user_muldiv
(
regs
,
pc
))
return
;
}
info
.
si_signo
=
SIGILL
;
info
.
si_signo
=
SIGILL
;
info
.
si_errno
=
0
;
info
.
si_errno
=
0
;
info
.
si_code
=
ILL_ILLOPC
;
info
.
si_code
=
ILL_ILLOPC
;
...
...
arch/sparc/mm/srmmu.c
View file @
b8850a8c
...
@@ -108,7 +108,7 @@ ctxd_t *srmmu_ctx_table_phys;
...
@@ -108,7 +108,7 @@ ctxd_t *srmmu_ctx_table_phys;
ctxd_t
*
srmmu_context_table
;
ctxd_t
*
srmmu_context_table
;
int
viking_mxcc_present
;
int
viking_mxcc_present
;
spinlock_t
srmmu_context_spinlock
=
SPIN_LOCK_UNLOCKED
;
s
tatic
s
pinlock_t
srmmu_context_spinlock
=
SPIN_LOCK_UNLOCKED
;
int
is_hypersparc
;
int
is_hypersparc
;
...
@@ -152,7 +152,7 @@ void *srmmu_nocache_pool;
...
@@ -152,7 +152,7 @@ void *srmmu_nocache_pool;
void
*
srmmu_nocache_bitmap
;
void
*
srmmu_nocache_bitmap
;
int
srmmu_nocache_low
;
int
srmmu_nocache_low
;
int
srmmu_nocache_used
;
int
srmmu_nocache_used
;
s
pinlock_t
srmmu_nocache_spinlock
;
s
tatic
spinlock_t
srmmu_nocache_spinlock
=
SPIN_LOCK_UNLOCKED
;
/* This makes sense. Honest it does - Anton */
/* This makes sense. Honest it does - Anton */
#define __nocache_pa(VADDR) (((unsigned long)VADDR) - SRMMU_NOCACHE_VADDR + __pa((unsigned long)srmmu_nocache_pool))
#define __nocache_pa(VADDR) (((unsigned long)VADDR) - SRMMU_NOCACHE_VADDR + __pa((unsigned long)srmmu_nocache_pool))
...
...
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