summaryrefslogtreecommitdiff
path: root/py/asmarm.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-09-03 22:47:23 +0100
committerDamien George <damien.p.george@gmail.com>2014-09-03 22:47:23 +0100
commitdda46460fff56c0756adba0d63fd72b311bdbcc9 (patch)
treea93c903fe6e5e8b5f8078fb3555fa8049c1e340c /py/asmarm.c
parenta669cbc690a2540f6a4cfe453fa4b5bab074d940 (diff)
Code style/whitespace cleanup; remove obsolete headers.
And move the MAP_ANON redefinition from py/asmx64.c to unix/alloc.c.
Diffstat (limited to 'py/asmarm.c')
-rw-r--r--py/asmarm.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/py/asmarm.c b/py/asmarm.c
index fff95fddb..da9f40920 100644
--- a/py/asmarm.c
+++ b/py/asmarm.c
@@ -84,16 +84,15 @@ void asm_arm_end_pass(asm_arm_t *as) {
if(as->code_base == NULL) {
assert(0);
}
- }
- else if(as->pass == ASM_ARM_PASS_EMIT) {
+ } else if(as->pass == ASM_ARM_PASS_EMIT) {
#ifdef __arm__
// flush I- and D-cache
- asm volatile(
+ asm volatile(
"0:"
"mrc p15, 0, r15, c7, c10, 3\n"
"bne 0b\n"
"mov r0, #0\n"
- "mcr p15, 0, r0, c7, c7, 0\n"
+ "mcr p15, 0, r0, c7, c7, 0\n"
: : : "r0", "cc");
#endif
}