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
73c50a27
Commit
73c50a27
authored
Mar 28, 2006
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Document the instruction checks we do in do_sparc64_fault().
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
6f25f398
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
arch/sparc64/mm/fault.c
arch/sparc64/mm/fault.c
+5
-1
No files found.
arch/sparc64/mm/fault.c
View file @
73c50a27
...
@@ -327,8 +327,12 @@ asmlinkage void __kprobes do_sparc64_fault(struct pt_regs *regs)
...
@@ -327,8 +327,12 @@ asmlinkage void __kprobes do_sparc64_fault(struct pt_regs *regs)
insn
=
get_fault_insn
(
regs
,
0
);
insn
=
get_fault_insn
(
regs
,
0
);
if
(
!
insn
)
if
(
!
insn
)
goto
continue_fault
;
goto
continue_fault
;
/* All loads, stores and atomics have bits 30 and 31 both set
* in the instruction. Bit 21 is set in all stores, but we
* have to avoid prefetches which also have bit 21 set.
*/
if
((
insn
&
0xc0200000
)
==
0xc0200000
&&
if
((
insn
&
0xc0200000
)
==
0xc0200000
&&
(
insn
&
0x
1780000
)
!=
0x
1680000
)
{
(
insn
&
0x
01780000
)
!=
0x0
1680000
)
{
/* Don't bother updating thread struct value,
/* Don't bother updating thread struct value,
* because update_mmu_cache only cares which tlb
* because update_mmu_cache only cares which tlb
* the access came from.
* the access came from.
...
...
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