Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
OpenBMC Firmware
talos-obmc-linux
Commits
bce1a286
Commit
bce1a286
authored
19 years ago
by
Ralf Baechle
Browse files
Options
Download
Email Patches
Plain Diff
[MIPS] R2: Instruction hazard barrier.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
a682a241
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
arch/mips/kernel/entry.S
arch/mips/kernel/entry.S
+15
-0
No files found.
arch/mips/kernel/entry.S
View file @
bce1a286
...
...
@@ -119,3 +119,18 @@ syscall_exit_work:
li
a1
,
1
jal
do_syscall_trace
b
resume_userspace
#if defined(CONFIG_CPU_MIPSR2) || defined(CONFIG_MIPS_MT)
/*
*
MIPS32R2
Instruction
Hazard
Barrier
-
must
be
called
*
*
For
C
code
use
the
inline
version
named
instruction_hazard
()
.
*/
LEAF
(
mips_ihb
)
.
set
mips32r2
jr.hb
ra
nop
END
(
mips_ihb
)
#endif /* CONFIG_CPU_MIPSR2 or CONFIG_MIPS_MT */
This diff is collapsed.
Click to expand it.
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