From: Ed Tomlinson <tomlins@cam.org>
To: linux-kernel@vger.kernel.org
Cc: Linus Torvalds <torvalds@transmeta.com>
Subject: [PATCH] fix UP links - current bk tree
Date: Thu, 1 Aug 2002 08:07:17 -0400 [thread overview]
Message-ID: <200208010807.17716.tomlins@cam.org> (raw)
Hi,
UP links are failing with the current bk tree. migration_init is only
defined in sched.c when SMP is set so we should not try to call it
from main.c.
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.483 -> 1.484
# init/main.c 1.59 -> 1.60
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/08/01 ed@oscar.et.ca 1.484
# Fix so UP links do not ask for migration_init
# --------------------------------------------
#
diff -Nru a/init/main.c b/init/main.c
--- a/init/main.c Thu Aug 1 08:02:01 2002
+++ b/init/main.c Thu Aug 1 08:02:01 2002
@@ -526,10 +526,12 @@
static void do_pre_smp_initcalls(void)
{
- extern int migration_init(void);
extern int spawn_ksoftirqd(void);
+#ifdef CONFIG_SMP
+ extern int migration_init(void);
migration_init();
+#endif
spawn_ksoftirqd();
}
reply other threads:[~2002-08-01 12:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200208010807.17716.tomlins@cam.org \
--to=tomlins@cam.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox