commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 03/05: boot: Move declaration.


From: Samuel Thibault
Subject: [hurd] 03/05: boot: Move declaration.
Date: Fri, 10 Mar 2017 03:33:19 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit b66e7d0f2c4e0754e51ffce14386e1884c29d08e
Author: Justus Winter <address@hidden>
Date:   Mon Mar 6 00:29:37 2017 +0100

    boot: Move declaration.
    
    * boot/boot.c (new_task_notification): Move declaration to the top,
    add comment.
---
 boot/boot.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/boot/boot.c b/boot/boot.c
index 9c2a021..950aedb 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -128,6 +128,10 @@ mach_port_t task_notification_port;
 mach_port_t dead_task_notification_port;
 auth_t authserver;
 
+/* The proc server registers for new task notifications which we will
+   send to this port.  */
+mach_port_t new_task_notification;
+
 struct store *root_store;
 
 pthread_spinlock_t queuelock = PTHREAD_SPINLOCK_INITIALIZER;
@@ -1920,8 +1924,6 @@ S_host_processor_set_priv (mach_port_t host_priv,
   return KERN_SUCCESS;
 }
 
-mach_port_t new_task_notification;
-
 kern_return_t
 S_register_new_task_notification (mach_port_t host_priv,
                                  mach_port_t notification)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]