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 Don't set __NO_STRICT_ALIGNMENT as armv...



details:   https://anonhg.NetBSD.org/src/rev/7dd699d80fc1
branches:  trunk
changeset: 331188:7dd699d80fc1
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Aug 05 06:24:56 2014 +0000

description:
Don't set __NO_STRICT_ALIGNMENT as armv[67] ldm/stm have alignment
restrictions.

PR/49020: Writing to tap device may cause panic on RPI

Discussed with matt@

diffstat:

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

diffs (19 lines):

diff -r b26afa944f8f -r 7dd699d80fc1 sys/arch/arm/include/types.h
--- a/sys/arch/arm/include/types.h      Tue Aug 05 05:24:26 2014 +0000
+++ b/sys/arch/arm/include/types.h      Tue Aug 05 06:24:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.27 2014/04/18 15:45:46 matt Exp $  */
+/*     $NetBSD: types.h,v 1.28 2014/08/05 06:24:56 skrll Exp $ */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -93,9 +93,6 @@
 #if defined(__ARM_EABI__) && defined(_ARM_ARCH_6)
 #define        __HAVE_ATOMIC64_OPS
 #endif
-#if defined(_ARM_ARCH_6)
-#define        __NO_STRICT_ALIGNMENT
-#endif
 
 #if defined(_KERNEL) || defined(_KMEMUSER)
 #define        PCU_FPU                 0



Home | Main Index | Thread Index | Old Index