Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jack Humbert
reform-boundary-uboot
Commits
1fade702
Commit
1fade702
authored
14 years ago
by
Timur Tabi
Committed by
Wolfgang Denk
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
powerpc: fix implementation of out_8 to match the other out_XX functions
Signed-off-by:
Timur Tabi
<
timur@freescale.com
>
parent
af4d9074
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/powerpc/include/asm/io.h
+4
-1
4 additions, 1 deletion
arch/powerpc/include/asm/io.h
with
4 additions
and
1 deletion
arch/powerpc/include/asm/io.h
+
4
−
1
View file @
1fade702
...
@@ -175,7 +175,10 @@ extern inline int in_8(const volatile unsigned char __iomem *addr)
...
@@ -175,7 +175,10 @@ extern inline int in_8(const volatile unsigned char __iomem *addr)
extern
inline
void
out_8
(
volatile
unsigned
char
__iomem
*
addr
,
int
val
)
extern
inline
void
out_8
(
volatile
unsigned
char
__iomem
*
addr
,
int
val
)
{
{
__asm__
__volatile__
(
"stb%U0%X0 %1,%0; eieio"
:
"=m"
(
*
addr
)
:
"r"
(
val
));
__asm__
__volatile__
(
"sync;
\n
"
"stb%U0%X0 %1,%0;
\n
"
:
"=m"
(
*
addr
)
:
"r"
(
val
));
}
}
extern
inline
int
in_le16
(
const
volatile
unsigned
short
__iomem
*
addr
)
extern
inline
int
in_le16
(
const
volatile
unsigned
short
__iomem
*
addr
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment