projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4da184
)
arm64: LLVMLinux: Fix inline arm64 assembly for use with clang
author
Mark Charlebois
<charlebm@gmail.com>
Mon, 15 Sep 2014 05:30:15 +0000
(06:30 +0100)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Mon, 15 Sep 2014 16:56:39 +0000
(17:56 +0100)
Remove '#' from immediate parameter in AARCH64 inline assembly in mmu.
This code now works with both gcc and clang.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Signed-off-by: Behan Webster <behanw@converseincode.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/mmu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm64/mm/mmu.c
b/arch/arm64/mm/mmu.c
index c55567283cded6e15f98e33a27bcd5695f67bfef..6894ef3e62342bb7e0f35252c03cb29faabaddc3 100644
(file)
--- a/
arch/arm64/mm/mmu.c
+++ b/
arch/arm64/mm/mmu.c
@@
-94,7
+94,7
@@
static int __init early_cachepolicy(char *p)
*/
asm volatile(
" mrs %0, mair_el1\n"
- " bfi %0, %1,
#
%2, #8\n"
+ " bfi %0, %1, %2, #8\n"
" msr mair_el1, %0\n"
" isb\n"
: "=&r" (tmp)
This page took
0.025256 seconds
and
5
git commands to generate.