Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/include Fix ldrht



details:   https://anonhg.NetBSD.org/src/rev/bfc67006f61a
branches:  trunk
changeset: 808647:bfc67006f61a
user:      matt <matt%NetBSD.org@localhost>
date:      Thu May 28 02:22:37 2015 +0000

description:
Fix ldrht

diffstat:

 sys/arch/arm/include/locore.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 129f46adb74f -r bfc67006f61a sys/arch/arm/include/locore.h
--- a/sys/arch/arm/include/locore.h     Thu May 28 02:22:05 2015 +0000
+++ b/sys/arch/arm/include/locore.h     Thu May 28 02:22:37 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.h,v 1.21 2015/03/30 05:43:55 matt Exp $ */
+/*     $NetBSD: locore.h,v 1.22 2015/05/28 02:22:37 matt Exp $ */
 
 /*
  * Copyright (c) 1994-1996 Mark Brinicombe.
@@ -227,7 +227,7 @@
        uint32_t insn;
        if (user_p) {
 #ifdef _ARM_ARCH_T2
-               __asm __volatile("ldrht %0, [%1], #0" : "=&r"(insn) : "r"(va));
+               __asm __volatile("ldrht %0, [%1]" : "=&r"(insn) : "r"(va));
 #else
                __asm __volatile("ldrt %0, [%1]" : "=&r"(insn) : "r"(va & ~3));
 #ifdef __ARMEB__



Home | Main Index | Thread Index | Old Index