summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common
diff options
context:
space:
mode:
authormanu <manu@NetBSD.org>2001-05-15 20:35:02 +0000
committermanu <manu@NetBSD.org>2001-05-15 20:35:02 +0000
commit56839426da0f48eeb209f54bc06e235d9ccdd019 (patch)
treed28aaec1e5fdfc0ee3eb3afd2ea3dacbb3832c15 /sys/compat/linux/common
parent825165a54aea6de7282c5b482dd25d1a5d8fc9cd (diff)
This file is not used on alpha, and it causes some warning that break the
build. Added an ifdef to ignore the file content for alpha (not tested)
Diffstat (limited to 'sys/compat/linux/common')
-rw-r--r--sys/compat/linux/common/linux_time.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/compat/linux/common/linux_time.c b/sys/compat/linux/common/linux_time.c
index 1c7f58022a6..740f067a3ed 100644
--- a/sys/compat/linux/common/linux_time.c
+++ b/sys/compat/linux/common/linux_time.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_time.c,v 1.1 2001/05/13 20:54:45 manu Exp $ */
+/* $NetBSD: linux_time.c,v 1.2 2001/05/15 20:35:02 manu Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -51,6 +51,11 @@
#include <compat/linux/linux_syscallargs.h>
+/*
+ * This is not implemented for alpha yet
+ */
+#if defined (__i386__) || defined (__m68k__) || defined (__powerpc__)
+
/*
* Linux keeps track of a system timezone in the kernel. It is readen
* by gettimeofday and set by settimeofday. This emulates this behavior
@@ -113,3 +118,5 @@ int linux_sys_settimeofday(p, v, retval)
return (0);
}
+
+#endif /* __i386__ || __m68k__ || __powerpc__ */