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
2b03a2af
Commit
2b03a2af
authored
Aug 07, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Kill TLB rtrap debug code.
parent
963819eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
19 deletions
+0
-19
arch/sparc64/kernel/rtrap.S
arch/sparc64/kernel/rtrap.S
+0
-4
arch/sparc64/mm/tlb.c
arch/sparc64/mm/tlb.c
+0
-15
No files found.
arch/sparc64/kernel/rtrap.S
View file @
2b03a2af
...
...
@@ -153,10 +153,6 @@ __handle_signal:
rtrap_irq
:
rtrap_clr_l6
:
clr
%
l6
rtrap
:
#if 1
call
tlb_batch_rtrap_debug
add
%
sp
,
PTREGS_OFF
,
%
o0
#endif
ldub
[%
g6
+
TI_CPU
],
%
l0
sethi
%
hi
(
irq_stat
),
%
l2
!
&
softirq_active
or
%
l2
,
%
lo
(
irq_stat
),
%
l2
!
&
softirq_active
...
...
arch/sparc64/mm/tlb.c
View file @
2b03a2af
...
...
@@ -41,21 +41,6 @@ void flush_tlb_pending(void)
}
}
void
tlb_batch_rtrap_debug
(
struct
pt_regs
*
regs
)
{
/* If we are returning to userspace and have pending
* tlb batch work on this processor, all hope is lost.
*/
if
(
!
(
regs
->
tstate
&
TSTATE_PRIV
))
{
struct
mmu_gather
*
mp
=
&
get_cpu_var
(
mmu_gathers
);
if
(
mp
->
tlb_nr
)
BUG
();
put_cpu_var
(
mmu_gathers
);
}
}
void
tlb_batch_add
(
pte_t
*
ptep
,
pte_t
orig
)
{
struct
mmu_gather
*
mp
=
&
__get_cpu_var
(
mmu_gathers
);
...
...
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