fix UP links - current bk tree
PATCH 1/1 fix UP links - current bk tree
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 [email protected] 1.484
# Fix so UP links do not ask for migration_init
# --------------------------------------------
#
init/main.c +3 -1
@@ -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 (); }