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
9f3d1b84
Commit
9f3d1b84
authored
Jun 12, 2003
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
patch.c:
ia64: don't forget to establish coherence after vtop patching
parent
6e439927
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
arch/ia64/kernel/patch.c
arch/ia64/kernel/patch.c
+6
-9
No files found.
arch/ia64/kernel/patch.c
View file @
9f3d1b84
...
...
@@ -87,15 +87,6 @@ ia64_patch_imm60 (u64 insn_addr, u64 val)
* at execution time, but sometimes (either for performance reasons
* or during error recovery) we cannot to this. Patch the marked
* bundles to load the physical address.
* The 64-bit value in a "movl reg=value" is scattered between the
* two words of the bundle like this:
*
* 6 6 5 4 3 2 1
* 3210987654321098765432109876543210987654321098765432109876543210
* ABBBBBBBBBBBBBBBBBBBBBBBCCCCCCCCCCCCCCCCCCDEEEEEFFFFFFFFFGGGGGGG
*
* CCCCCCCCCCCCCCCCCCxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
* xxxxAFFFFFFFFFEEEEEDxGGGGGGGxxxxxxxxxxxxxBBBBBBBBBBBBBBBBBBBBBBB
*/
void
__init
ia64_patch_vtop
(
unsigned
long
start
,
unsigned
long
end
)
...
...
@@ -108,8 +99,14 @@ ia64_patch_vtop (unsigned long start, unsigned long end)
/* replace virtual address with corresponding physical address: */
ia64_patch_imm64
(
ip
,
ia64_tpa
(
get_imm64
(
ip
)));
ia64_fc
(
ip
);
++
offp
;
}
ia64_insn_group_barrier
();
ia64_sync_i
();
ia64_insn_group_barrier
();
ia64_srlz_i
();
ia64_insn_group_barrier
();
}
void
...
...
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