Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpkern move hppa cpp kludge to the end of...



details:   https://anonhg.NetBSD.org/src/rev/67de114c83a0
branches:  trunk
changeset: 747230:67de114c83a0
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Sep 06 19:14:54 2009 +0000

description:
move hppa cpp kludge to the end of the file

diffstat:

 sys/rump/librump/rumpkern/emul.c |  19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r 799ea8b77383 -r 67de114c83a0 sys/rump/librump/rumpkern/emul.c
--- a/sys/rump/librump/rumpkern/emul.c  Sun Sep 06 18:39:04 2009 +0000
+++ b/sys/rump/librump/rumpkern/emul.c  Sun Sep 06 19:14:54 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emul.c,v 1.92 2009/09/04 17:15:21 pooka Exp $  */
+/*     $NetBSD: emul.c,v 1.93 2009/09/06 19:14:54 pooka Exp $  */
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.92 2009/09/04 17:15:21 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.93 2009/09/06 19:14:54 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/malloc.h>
@@ -727,12 +727,6 @@
        rumpuser_panic();
 }
 
-/* XXX: static, but not used except to make spcopy.S link */
-#ifdef __hppa__
-#undef curlwp
-struct lwp *curlwp = &lwp0;
-#endif
-
 /*
  * XXX: from sys_select.c, see that file for license.
  * (these will go away really soon in favour of the real sys_select.c)
@@ -765,3 +759,12 @@
        *sleepts = sleptts;
        return tstohz(ts);
 }
+
+
+/* XXX: static, but not used except to make spcopy.S link */
+#ifdef __hppa__
+#undef curlwp
+struct lwp *curlwp = &lwp0;
+#endif
+
+/* make sure the above is the last entry in this file */



Home | Main Index | Thread Index | Old Index