Module Name: src Committed By: skrll Date: Tue Aug 5 06:24:56 UTC 2014
Modified Files: src/sys/arch/arm/include: types.h Log Message: 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@ To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/arch/arm/include/types.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/include/types.h diff -u src/sys/arch/arm/include/types.h:1.27 src/sys/arch/arm/include/types.h:1.28 --- src/sys/arch/arm/include/types.h:1.27 Fri Apr 18 15:45:46 2014 +++ src/sys/arch/arm/include/types.h Tue Aug 5 06:24:56 2014 @@ -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 @@ typedef volatile int __cpu_simple_lock_ #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