]> xenbits.xensource.com Git - people/liuw/rumprun.git/commitdiff
some trivial diff reduction
authorAntti Kantee <pooka@iki.fi>
Mon, 20 Apr 2015 12:33:12 +0000 (12:33 +0000)
committerAntti Kantee <pooka@iki.fi>
Mon, 20 Apr 2015 12:33:12 +0000 (12:33 +0000)
platform/xen/xen/sched.c

index e4b7b57d8f6c5474d72e5e20e4c0d53b4fc1b7f2..444eb6f9bf970c86b5b5f54369772e6120eb1486 100644 (file)
@@ -340,9 +340,9 @@ static TAILQ_HEAD(, join_waiter) joinwq = TAILQ_HEAD_INITIALIZER(joinwq);
 void
 bmk_sched_exit(void)
 {
-       unsigned long flags;
        struct bmk_thread *thread = bmk_sched_current();
        struct join_waiter *jw_iter;
+       unsigned long flags;
 
        /* if joinable, gate until we are allowed to exit */
        flags = bmk_platform_splhigh();
@@ -375,7 +375,6 @@ bmk_sched_exit(void)
        bmk_platform_halt("schedule() returned for a dead thread!\n");
 }
 
-/* hmm, all of the interfaces here are namespaced "backwards" ... */
 void
 bmk_sched_join(struct bmk_thread *joinable)
 {