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
Kirill Smelkov
linux
Commits
7382fbde
Unverified
Commit
7382fbde
authored
7 years ago
by
Palmer Dabbelt
Browse files
Options
Download
Plain Diff
RISC-V: __io_writes should respect the length argument
parents
07f8ba74
da894ff1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
arch/riscv/include/asm/io.h
arch/riscv/include/asm/io.h
+1
-1
No files found.
arch/riscv/include/asm/io.h
View file @
7382fbde
...
@@ -250,7 +250,7 @@ static inline u64 __raw_readq(const volatile void __iomem *addr)
...
@@ -250,7 +250,7 @@ static inline u64 __raw_readq(const volatile void __iomem *addr)
const ctype *buf = buffer; \
const ctype *buf = buffer; \
\
\
do { \
do { \
__raw_write
q
(*buf++, addr);
\
__raw_write
## len
(*buf++, addr); \
} while (--count); \
} while (--count); \
} \
} \
afence; \
afence; \
...
...
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