Module Name: src
Committed By: skrll
Date: Sun Dec 1 08:44:43 UTC 2024
Modified Files:
src/sys/arch/m68k/include: lwp_private.h
Log Message:
Shuffle code so it compiles
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/m68k/include/lwp_private.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/m68k/include/lwp_private.h
diff -u src/sys/arch/m68k/include/lwp_private.h:1.1 src/sys/arch/m68k/include/lwp_private.h:1.2
--- src/sys/arch/m68k/include/lwp_private.h:1.1 Sat Nov 30 01:04:11 2024
+++ src/sys/arch/m68k/include/lwp_private.h Sun Dec 1 08:44:43 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: lwp_private.h,v 1.1 2024/11/30 01:04:11 christos Exp $ */
+/* $NetBSD: lwp_private.h,v 1.2 2024/12/01 08:44:43 skrll Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,12 +37,12 @@
#include <lwp.h>
-__CTASSERT(TLS_TP_OFFSET + sizeof(struct tls_tcb) < 0x8000);
-__CTASSERT(TLS_TP_OFFSET % sizeof(struct tls_tcb) == 0);
-
#define TLS_TP_OFFSET 0x7000
#define TLS_DTV_OFFSET 0x8000
+__CTASSERT(TLS_TP_OFFSET + sizeof(struct tls_tcb) < 0x8000);
+__CTASSERT(TLS_TP_OFFSET % sizeof(struct tls_tcb) == 0);
+
__BEGIN_DECLS
static __inline struct tls_tcb *