Module Name: src Committed By: skrll Date: Mon Jan 31 12:10:59 UTC 2011
Modified Files: src/sys/lib/libkern/arch/hppa: bcopy.S Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/lib/libkern/arch/hppa/bcopy.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/lib/libkern/arch/hppa/bcopy.S diff -u src/sys/lib/libkern/arch/hppa/bcopy.S:1.13 src/sys/lib/libkern/arch/hppa/bcopy.S:1.14 --- src/sys/lib/libkern/arch/hppa/bcopy.S:1.13 Mon Jan 24 15:01:30 2011 +++ src/sys/lib/libkern/arch/hppa/bcopy.S Mon Jan 31 12:10:58 2011 @@ -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"