Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/sh3 We never want the c definitions in <sys/end...



details:   https://anonhg.NetBSD.org/src/rev/5489b0bfd1f6
branches:  trunk
changeset: 335432:5489b0bfd1f6
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 06 17:43:16 2015 +0000

description:
We never want the c definitions in <sys/endian.h>

diffstat:

 sys/arch/sh3/sh3/cpu_in_cksum.S |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r c57e1e7ba5fe -r 5489b0bfd1f6 sys/arch/sh3/sh3/cpu_in_cksum.S
--- a/sys/arch/sh3/sh3/cpu_in_cksum.S   Tue Jan 06 17:41:30 2015 +0000
+++ b/sys/arch/sh3/sh3/cpu_in_cksum.S   Tue Jan 06 17:43:16 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu_in_cksum.S,v 1.4 2011/09/27 00:35:38 christos Exp $        */
+/*     $NetBSD: cpu_in_cksum.S,v 1.5 2015/01/06 17:43:16 christos Exp $        */
 
 /*-
  * Copyright (c) 2000 SHIMIZU Ryo <ryo%misakimix.org@localhost>
@@ -27,11 +27,14 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef _LOCORE
+#define _LOCORE
+#endif
 #include <machine/endian.h>
 #include <machine/asm.h>
 #include "assym.h"
 
-__KERNEL_RCSID(0, "$NetBSD: cpu_in_cksum.S,v 1.4 2011/09/27 00:35:38 christos Exp $")
+__KERNEL_RCSID(0, "$NetBSD: cpu_in_cksum.S,v 1.5 2015/01/06 17:43:16 christos Exp $")
 
 
 #define        reg_tmp0                r0



Home | Main Index | Thread Index | Old Index