Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc remove local lwp_eprio() definition tha...
details: https://anonhg.NetBSD.org/src/rev/cc2a7558f735
branches: trunk
changeset: 349562:cc2a7558f735
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Dec 14 18:50:56 2016 +0000
description:
remove local lwp_eprio() definition that broke the clang build.
diffstat:
sys/arch/sparc/sparc/db_interface.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (33 lines):
diff -r 9a8d2ad7ffbd -r cc2a7558f735 sys/arch/sparc/sparc/db_interface.c
--- a/sys/arch/sparc/sparc/db_interface.c Wed Dec 14 16:03:19 2016 +0000
+++ b/sys/arch/sparc/sparc/db_interface.c Wed Dec 14 18:50:56 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_interface.c,v 1.92 2016/12/10 10:41:07 mrg Exp $ */
+/* $NetBSD: db_interface.c,v 1.93 2016/12/14 18:50:56 mrg Exp $ */
/*
* Mach Operating System
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.92 2016/12/10 10:41:07 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.93 2016/12/14 18:50:56 mrg Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -366,14 +366,6 @@
}
#endif /* DDB */
-#ifndef _KERNEL
-static inline pri_t
-lwp_eprio(lwp_t *l)
-{
- return 0;
-}
-#endif
-
#ifdef _KERNEL
void
db_proc_cmd(db_expr_t addr, bool have_addr, db_expr_t count, const char *modif)
Home |
Main Index |
Thread Index |
Old Index