Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libkern/arch/hppa This file needs opt_multiprocessor...
details: https://anonhg.NetBSD.org/src/rev/a29603e82e13
branches: trunk
changeset: 761534:a29603e82e13
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jan 31 12:10:58 2011 +0000
description:
This file needs opt_multiprocessor.h early so we pick up the right
definition from cpu.h, etc.
XXX should revisit the _STANDALONE vs _KERNEL split
diffstat:
sys/lib/libkern/arch/hppa/bcopy.S | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diffs (40 lines):
diff -r 7eaa8e769af8 -r a29603e82e13 sys/lib/libkern/arch/hppa/bcopy.S
--- a/sys/lib/libkern/arch/hppa/bcopy.S Mon Jan 31 10:58:14 2011 +0000
+++ b/sys/lib/libkern/arch/hppa/bcopy.S Mon Jan 31 12:10:58 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcopy.S,v 1.13 2011/01/24 15:01:30 skrll Exp $ */
+/* $NetBSD: bcopy.S,v 1.14 2011/01/31 12:10:58 skrll Exp $ */
/*
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -36,13 +36,20 @@
#undef _LOCORE
#define _LOCORE /* XXX fredette - unfortunate */
+#if defined(SPCOPY) && !defined(_STANDALONE)
+
+#include "opt_multiprocessor.h"
+
#include <machine/cpu.h>
+
+#endif
+
#include <machine/asm.h>
#include <machine/frame.h>
#include <machine/reg.h>
#if defined(LIBC_SCCS) && !defined(lint)
-RCSID("$NetBSD: bcopy.S,v 1.13 2011/01/24 15:01:30 skrll Exp $")
+RCSID("$NetBSD: bcopy.S,v 1.14 2011/01/31 12:10:58 skrll Exp $")
#endif /* LIBC_SCCS and not lint */
/*
@@ -486,8 +493,6 @@
#if defined(SPCOPY) && !defined(_STANDALONE)
-#include "opt_multiprocessor.h"
-
#include <sys/errno.h>
#include "assym.h"
Home |
Main Index |
Thread Index |
Old Index