Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Use __nothing
details: https://anonhg.NetBSD.org/src/rev/52bb2b6a798f
branches: trunk
changeset: 433963:52bb2b6a798f
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Oct 14 14:31:05 2018 +0000
description:
Use __nothing
diffstat:
sys/arch/aarch64/aarch64/aarch64_machdep.c | 6 +++---
sys/arch/aarch64/aarch64/cpu.c | 6 +++---
sys/arch/aarch64/aarch64/pmap.c | 6 +++---
sys/arch/arm/arm32/arm32_boot.c | 6 +++---
sys/arch/arm/arm32/arm32_kvminit.c | 6 +++---
sys/arch/arm/arm32/arm32_machdep.c | 6 +++---
sys/arch/arm/arm32/pmap.c | 6 +++---
sys/arch/evbarm/fdt/fdt_machdep.c | 6 +++---
8 files changed, 24 insertions(+), 24 deletions(-)
diffs (216 lines):
diff -r 730234badeba -r 52bb2b6a798f sys/arch/aarch64/aarch64/aarch64_machdep.c
--- a/sys/arch/aarch64/aarch64/aarch64_machdep.c Sun Oct 14 14:09:53 2018 +0000
+++ b/sys/arch/aarch64/aarch64/aarch64_machdep.c Sun Oct 14 14:31:05 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aarch64_machdep.c,v 1.14 2018/10/13 08:32:36 ryo Exp $ */
+/* $NetBSD: aarch64_machdep.c,v 1.15 2018/10/14 14:31:05 skrll Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.14 2018/10/13 08:32:36 ryo Exp $");
+__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.15 2018/10/14 14:31:05 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_ddb.h"
@@ -69,7 +69,7 @@
#ifdef VERBOSE_INIT_ARM
#define VPRINTF(...) printf(__VA_ARGS__)
#else
-#define VPRINTF(...) do { } while (/* CONSTCOND */ 0)
+#define VPRINTF(...) __nothing
#endif
char cpu_model[32];
diff -r 730234badeba -r 52bb2b6a798f sys/arch/aarch64/aarch64/cpu.c
--- a/sys/arch/aarch64/aarch64/cpu.c Sun Oct 14 14:09:53 2018 +0000
+++ b/sys/arch/aarch64/aarch64/cpu.c Sun Oct 14 14:31:05 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.11 2018/10/04 07:36:10 ryo Exp $ */
+/* $NetBSD: cpu.c,v 1.12 2018/10/14 14:31:05 skrll Exp $ */
/*
* Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.11 2018/10/04 07:36:10 ryo Exp $");
+__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.12 2018/10/14 14:31:05 skrll Exp $");
#include "locators.h"
#include "opt_arm_debug.h"
@@ -53,7 +53,7 @@
#ifdef VERBOSE_INIT_ARM
#define VPRINTF(...) printf(__VA_ARGS__)
#else
-#define VPRINTF(...) do { } while (/* CONSTCOND */ 0)
+#define VPRINTF(...) __nothing
#endif
void cpu_attach(device_t, cpuid_t);
diff -r 730234badeba -r 52bb2b6a798f sys/arch/aarch64/aarch64/pmap.c
--- a/sys/arch/aarch64/aarch64/pmap.c Sun Oct 14 14:09:53 2018 +0000
+++ b/sys/arch/aarch64/aarch64/pmap.c Sun Oct 14 14:31:05 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.29 2018/10/12 01:28:57 ryo Exp $ */
+/* $NetBSD: pmap.c,v 1.30 2018/10/14 14:31:05 skrll Exp $ */
/*
* Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.29 2018/10/12 01:28:57 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.30 2018/10/14 14:31:05 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_ddb.h"
@@ -55,7 +55,7 @@
#ifdef VERBOSE_INIT_ARM
#define VPRINTF(...) printf(__VA_ARGS__)
#else
-#define VPRINTF(...) do { } while (/* CONSTCOND */ 0)
+#define VPRINTF(...) __nothing
#endif
UVMHIST_DEFINE(pmaphist);
diff -r 730234badeba -r 52bb2b6a798f sys/arch/arm/arm32/arm32_boot.c
--- a/sys/arch/arm/arm32/arm32_boot.c Sun Oct 14 14:09:53 2018 +0000
+++ b/sys/arch/arm/arm32/arm32_boot.c Sun Oct 14 14:31:05 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_boot.c,v 1.22 2018/09/16 11:34:20 skrll Exp $ */
+/* $NetBSD: arm32_boot.c,v 1.23 2018/10/14 14:31:05 skrll Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec Corporation. All rights reserved.
@@ -122,7 +122,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: arm32_boot.c,v 1.22 2018/09/16 11:34:20 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: arm32_boot.c,v 1.23 2018/10/14 14:31:05 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_cputypes.h"
@@ -155,7 +155,7 @@
#ifdef VERBOSE_INIT_ARM
#define VPRINTF(...) printf(__VA_ARGS__)
#else
-#define VPRINTF(...) do { } while (/* CONSTCOND */ 0)
+#define VPRINTF(...) __nothing
#endif
#ifdef MULTIPROCESSOR
diff -r 730234badeba -r 52bb2b6a798f sys/arch/arm/arm32/arm32_kvminit.c
--- a/sys/arch/arm/arm32/arm32_kvminit.c Sun Oct 14 14:09:53 2018 +0000
+++ b/sys/arch/arm/arm32/arm32_kvminit.c Sun Oct 14 14:31:05 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_kvminit.c,v 1.44 2018/08/03 15:46:41 skrll Exp $ */
+/* $NetBSD: arm32_kvminit.c,v 1.45 2018/10/14 14:31:05 skrll Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec Corporation. All rights reserved.
@@ -126,7 +126,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_kvminit.c,v 1.44 2018/08/03 15:46:41 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_kvminit.c,v 1.45 2018/10/14 14:31:05 skrll Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -157,7 +157,7 @@
#ifdef VERBOSE_INIT_ARM
#define VPRINTF(...) printf(__VA_ARGS__)
#else
-#define VPRINTF(...) do { } while (/* CONSTCOND */ 0)
+#define VPRINTF(...) __nothing
#endif
struct bootmem_info bootmem_info;
diff -r 730234badeba -r 52bb2b6a798f sys/arch/arm/arm32/arm32_machdep.c
--- a/sys/arch/arm/arm32/arm32_machdep.c Sun Oct 14 14:09:53 2018 +0000
+++ b/sys/arch/arm/arm32/arm32_machdep.c Sun Oct 14 14:31:05 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_machdep.c,v 1.121 2018/10/12 21:44:20 jmcneill Exp $ */
+/* $NetBSD: arm32_machdep.c,v 1.122 2018/10/14 14:31:05 skrll Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.121 2018/10/12 21:44:20 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.122 2018/10/14 14:31:05 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_fdt.h"
@@ -90,7 +90,7 @@
#ifdef VERBOSE_INIT_ARM
#define VPRINTF(...) printf(__VA_ARGS__)
#else
-#define VPRINTF(...) do { } while (/* CONSTCOND */ 0)
+#define VPRINTF(...) __nothing
#endif
void (*cpu_reset_address)(void); /* Used by locore */
diff -r 730234badeba -r 52bb2b6a798f sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Sun Oct 14 14:09:53 2018 +0000
+++ b/sys/arch/arm/arm32/pmap.c Sun Oct 14 14:31:05 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.368 2018/09/03 16:29:23 riastradh Exp $ */
+/* $NetBSD: pmap.c,v 1.369 2018/10/14 14:31:05 skrll Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -217,7 +217,7 @@
#include <arm/locore.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.368 2018/09/03 16:29:23 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.369 2018/10/14 14:31:05 skrll Exp $");
//#define PMAP_DEBUG
#ifdef PMAP_DEBUG
@@ -262,7 +262,7 @@
#ifdef VERBOSE_INIT_ARM
#define VPRINTF(...) printf(__VA_ARGS__)
#else
-#define VPRINTF(...) do { } while (/* CONSTCOND */ 0)
+#define VPRINTF(...) __nothing
#endif
/*
diff -r 730234badeba -r 52bb2b6a798f sys/arch/evbarm/fdt/fdt_machdep.c
--- a/sys/arch/evbarm/fdt/fdt_machdep.c Sun Oct 14 14:09:53 2018 +0000
+++ b/sys/arch/evbarm/fdt/fdt_machdep.c Sun Oct 14 14:31:05 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdt_machdep.c,v 1.42 2018/10/04 07:33:54 ryo Exp $ */
+/* $NetBSD: fdt_machdep.c,v 1.43 2018/10/14 14:31:05 skrll Exp $ */
/*-
* Copyright (c) 2015-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.42 2018/10/04 07:33:54 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.43 2018/10/14 14:31:05 skrll Exp $");
#include "opt_machdep.h"
#include "opt_bootconfig.h"
@@ -165,7 +165,7 @@
#ifdef VERBOSE_INIT_ARM
#define VPRINTF(...) printf(__VA_ARGS__)
#else
-#define VPRINTF(...) do { } while (/* CONSTCOND */ 0)
+#define VPRINTF(...) __nothing
#endif
/*
Home |
Main Index |
Thread Index |
Old Index