Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/ia64/include define empty bodies for incomplete imp...
details: https://anonhg.NetBSD.org/src/rev/c0df28995a76
branches: trunk
changeset: 350609:c0df28995a76
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 14 16:12:51 2017 +0000
description:
define empty bodies for incomplete implementations
diffstat:
sys/arch/ia64/include/cpu.h | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diffs (43 lines):
diff -r e95ff5f67c0a -r c0df28995a76 sys/arch/ia64/include/cpu.h
--- a/sys/arch/ia64/include/cpu.h Sat Jan 14 16:07:53 2017 +0000
+++ b/sys/arch/ia64/include/cpu.h Sat Jan 14 16:12:51 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.12 2013/11/10 00:50:13 christos Exp $ */
+/* $NetBSD: cpu.h,v 1.13 2017/01/14 16:12:51 christos Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -149,13 +149,14 @@
#define TRAPF_CPL(tf) ((tf)->tf_special.psr & IA64_PSR_CPL)
#define TRAPF_USERMODE(tf) (TRAPF_CPL(tf) != IA64_PSR_CPL_KERN)
+#define __empty do { } while (/*CONSTCOND*/0)
/*
* Give a profiling tick to the current process when the user profiling
* buffer pages are invalid. XXX:Fixme.... On the ia64 I haven't yet figured
* out what to do about this.. XXX.
*/
/* extern void cpu_need_proftick(struct lwp *l); */
-#define cpu_need_proftick(l)
+#define cpu_need_proftick(l) __empty
/*
* Notify the LWP l that it has a signal pending, process as soon as possible.
@@ -168,14 +169,14 @@
__USE(f); \
} while(/*CONSTCOND*/0)
-#define setsoftclock() /*XXX: FIXME */
+#define setsoftclock() __empty /*XXX: FIXME */
/* machdep.c */
int cpu_maxproc(void); /*XXX: Fill in machdep.c */
-#define cpu_proc_fork(p1, p2) /* XXX: Look into this. */
+#define cpu_proc_fork(p1, p2) __empty /* XXX: Look into this. */
-#define DELAY(x) /* XXX: FIXME */
+#define DELAY(x) __empty /* XXX: FIXME */
static inline void cpu_idle(void);
static inline
Home |
Main Index |
Thread Index |
Old Index