Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/powerpc There is too much debugging, it's g...
details: https://anonhg.NetBSD.org/src/rev/f39620c7f00b
branches: trunk
changeset: 539828:f39620c7f00b
user: manu <manu%NetBSD.org@localhost>
date: Tue Nov 26 23:48:44 2002 +0000
description:
There is too much debugging, it's getting annoying. Let's remove some.
diffstat:
sys/arch/powerpc/powerpc/mach_syscall.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (40 lines):
diff -r 158af9d1dcc9 -r f39620c7f00b sys/arch/powerpc/powerpc/mach_syscall.c
--- a/sys/arch/powerpc/powerpc/mach_syscall.c Tue Nov 26 23:37:09 2002 +0000
+++ b/sys/arch/powerpc/powerpc/mach_syscall.c Tue Nov 26 23:48:44 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mach_syscall.c,v 1.5 2002/11/13 09:36:10 matt Exp $ */
+/* $NetBSD: mach_syscall.c,v 1.6 2002/11/26 23:48:44 manu Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
#include "opt_compat_mach.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mach_syscall.c,v 1.5 2002/11/13 09:36:10 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mach_syscall.c,v 1.6 2002/11/26 23:48:44 manu Exp $");
#include <sys/types.h>
#include <sys/systm.h>
@@ -70,11 +70,6 @@
const struct sysent *callp = NULL;
register_t code = *code_p;
-#ifdef DEBUG_MACH
- if (code >= MACH_PPCCALLS);
- printf("->mach(0x%x)\n", code);
-#endif
-
switch (code & MACH_ODD_SYSCALL_MASK) {
case MACH_PPCCALLS:
code = (code - MACH_PPCCALLS) & (MACH_PPCCALLS_SYS_NSYSENT-1);
@@ -88,9 +83,6 @@
default:
if (code < 0) {
-#ifdef DEBUG_MACH
- printf("->mach(%d)\n", code);
-#endif /* DEBUG_MACH */
code = -code & (MACH_SYS_NSYSENT-1);
callp = mach_sysent;
}
Home |
Main Index |
Thread Index |
Old Index