Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/alpha Some #ifdefs to make LKMs happy.
details: https://anonhg.NetBSD.org/src/rev/7de453b46708
branches: trunk
changeset: 500617:7de453b46708
user: mycroft <mycroft%NetBSD.org@localhost>
date: Thu Dec 14 18:44:20 2000 +0000
description:
Some #ifdefs to make LKMs happy.
diffstat:
sys/arch/alpha/alpha/linux_syscall.c | 6 ++++--
sys/arch/alpha/alpha/osf1_syscall.c | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diffs (50 lines):
diff -r 1eb452253a62 -r 7de453b46708 sys/arch/alpha/alpha/linux_syscall.c
--- a/sys/arch/alpha/alpha/linux_syscall.c Thu Dec 14 18:42:07 2000 +0000
+++ b/sys/arch/alpha/alpha/linux_syscall.c Thu Dec 14 18:44:20 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.c,v 1.2 2000/12/14 18:34:59 mycroft Exp $ */
+/* $NetBSD: linux_syscall.c,v 1.3 2000/12/14 18:44:20 mycroft Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -94,12 +94,14 @@
* rights to redistribute these changes.
*/
+#if defined(_KERNEL) && !defined(_LKM)
#include "opt_syscall_debug.h"
#include "opt_ktrace.h"
+#endif
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.2 2000/12/14 18:34:59 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.3 2000/12/14 18:44:20 mycroft Exp $");
#include <sys/param.h>
#include <sys/systm.h>
diff -r 1eb452253a62 -r 7de453b46708 sys/arch/alpha/alpha/osf1_syscall.c
--- a/sys/arch/alpha/alpha/osf1_syscall.c Thu Dec 14 18:42:07 2000 +0000
+++ b/sys/arch/alpha/alpha/osf1_syscall.c Thu Dec 14 18:44:20 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_syscall.c,v 1.2 2000/12/13 07:53:58 mycroft Exp $ */
+/* $NetBSD: osf1_syscall.c,v 1.3 2000/12/14 18:44:20 mycroft Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -94,12 +94,14 @@
* rights to redistribute these changes.
*/
+#if defined(_KERNEL) && !defined(_LKM)
#include "opt_syscall_debug.h"
#include "opt_ktrace.h"
+#endif
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: osf1_syscall.c,v 1.2 2000/12/13 07:53:58 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osf1_syscall.c,v 1.3 2000/12/14 18:44:20 mycroft Exp $");
#include <sys/param.h>
#include <sys/systm.h>
Home |
Main Index |
Thread Index |
Old Index