From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: Xen-devel@lists.xensource.com
Subject: Re: [PATCH] stubdom: make the build more generic
Date: Tue, 27 May 2008 17:24:14 +0100 [thread overview]
Message-ID: <20080527162414.GW4335@implementation.uk.xensource.com> (raw)
In-Reply-To: <20080527152243.GU4335@implementation.uk.xensource.com>
stubdom: Save main_thread value by moving it out from app_bss which gets
cleared.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
---
Fix to be applied on top of the previous patch.
diff -r b2ba3736c9aa extras/mini-os/main.c
--- a/extras/mini-os/main.c Tue May 27 17:02:12 2008 +0100
+++ b/extras/mini-os/main.c Tue May 27 17:24:28 2008 +0100
@@ -20,8 +20,6 @@
extern void __libc_fini_array(void);
extern unsigned long __CTOR_LIST__[];
extern unsigned long __DTOR_LIST__[];
-
-struct thread *main_thread;
#if 0
#include <stdio.h>
diff -r b2ba3736c9aa extras/mini-os/sched.c
--- a/extras/mini-os/sched.c Tue May 27 17:02:12 2008 +0100
+++ b/extras/mini-os/sched.c Tue May 27 17:24:28 2008 +0100
@@ -57,6 +57,8 @@
struct thread *idle_thread = NULL;
LIST_HEAD(exited_threads);
static int threads_started;
+
+struct thread *main_thread;
void inline print_runqueue(void)
{
prev parent reply other threads:[~2008-05-27 16:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-27 15:22 [PATCH] stubdom: make the build more generic Samuel Thibault
2008-05-27 16:24 ` Samuel Thibault [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080527162414.GW4335@implementation.uk.xensource.com \
--to=samuel.thibault@eu.citrix.com \
--cc=Xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.