Module Name: src Committed By: christos Date: Fri May 1 18:37:40 UTC 2015
Modified Files: src/sys/arch/mips/include: locore.h Log Message: change #error to KASSERT To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/arch/mips/include/locore.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/mips/include/locore.h diff -u src/sys/arch/mips/include/locore.h:1.95 src/sys/arch/mips/include/locore.h:1.96 --- src/sys/arch/mips/include/locore.h:1.95 Wed Apr 29 04:32:00 2015 +++ src/sys/arch/mips/include/locore.h Fri May 1 14:37:40 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.h,v 1.95 2015/04/29 08:32:00 hikaru Exp $ */ +/* $NetBSD: locore.h,v 1.96 2015/05/01 18:37:40 christos Exp $ */ /* * This file should not be included by MI code!!! @@ -332,7 +332,7 @@ mips64_ld_a64(uint64_t addr) #elif defined(_LP64) rv = *(volatile uint64_t *)addr; #else -#error unknown ABI + KASSERT(0); // LKM, STANDALONE, MODULE #endif return (rv); } @@ -345,7 +345,7 @@ mips64_sd_a64(uint64_t addr, uint64_t va #elif defined(_LP64) *(volatile uint64_t *)addr = val; #else -#error unknown ABI + KASSERT(0); // LKM, STANDALONE, MODULE #endif } #endif /* (MIPS64 + MIPS64R2) > 0 */