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 Add a dummy component to ensure th...



details:   https://anonhg.NetBSD.org/src/rev/48775f731221
branches:  trunk
changeset: 785204:48775f731221
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Mar 03 13:11:33 2013 +0000

description:
Add a dummy component to ensure that at least one component is present
in every possible rump kernel configuration.

diffstat:

 sys/rump/librump/rumpkern/rump.c |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r db49c5ee0428 -r 48775f731221 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Sun Mar 03 10:33:56 2013 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Sun Mar 03 13:11:33 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.251 2013/02/19 09:04:54 martin Exp $        */
+/*     $NetBSD: rump.c,v 1.252 2013/03/03 13:11:33 pooka Exp $ */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.251 2013/02/19 09:04:54 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.252 2013/03/03 13:11:33 pooka Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -208,6 +208,15 @@
        return rumpuser_daemonize_done(error);
 }
 
+RUMP_COMPONENT(RUMP_COMPONENT_POSTINIT)
+{
+
+       /*
+        * dummy component to make sure at least one component is
+        * present in every possible rump kernel configuration
+        */
+}
+
 int
 rump__init(int rump_version)
 {



Home | Main Index | Thread Index | Old Index