Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 Attempt to complete previous and allow XEN ...



details:   https://anonhg.NetBSD.org/src/rev/faefe6f9cdd6
branches:  trunk
changeset: 829093:faefe6f9cdd6
user:      kre <kre%NetBSD.org@localhost>
date:      Tue Jan 16 16:24:23 2018 +0000

description:
Attempt to complete previous and allow XEN to compile (as well as link)

diffstat:

 sys/arch/x86/x86/intr.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 676438770f82 -r faefe6f9cdd6 sys/arch/x86/x86/intr.c
--- a/sys/arch/x86/x86/intr.c   Tue Jan 16 16:20:57 2018 +0000
+++ b/sys/arch/x86/x86/intr.c   Tue Jan 16 16:24:23 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.c,v 1.120 2018/01/16 11:52:09 roy Exp $   */
+/*     $NetBSD: intr.c,v 1.121 2018/01/16 16:24:23 kre Exp $   */
 
 /*
  * Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -133,7 +133,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.120 2018/01/16 11:52:09 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.121 2018/01/16 16:24:23 kre Exp $");
 
 #include "opt_intrdebug.h"
 #include "opt_multiprocessor.h"
@@ -246,6 +246,9 @@
 
 static inline bool redzone_const_or_false(bool);
 static inline int redzone_const_or_zero(int);
+#else
+#define        redzone_const_or_false(x)       (/*CONSTCOND*/0)
+#define        redzone_const_or_zero(x)        (0)
 #endif
 
 static void intr_redistribute_xc_t(void *, void *);



Home | Main Index | Thread Index | Old Index