mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* link errors in 2.5.29+bk
@ 2002-07-29 10:53 Meelis Roos
  2002-07-29 12:19 ` Stelian Pop
  2002-07-30 19:58 ` Paul Larson
  0 siblings, 2 replies; 3+ messages in thread
From: Meelis Roos @ 2002-07-29 10:53 UTC (permalink / raw)
  To: linux-kernel

Seems to be connected to the recent migration thread changes:

init/init.o: In function `do_pre_smp_initcalls':
init/init.o(.text+0x59): undefined reference to `migration_init'

aic7xxx_old has yet to be converted to cli removal:

drivers/built-in.o: In function `aic7xxx_handle_seqint':
drivers/built-in.o(.text+0x2d2c4): undefined reference to `sti'
drivers/built-in.o: In function `aic7xxx_isr':
drivers/built-in.o(.text+0x320b4): undefined reference to `sti'


-- 
Meelis Roos (mroos@linux.ee)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: link errors in 2.5.29+bk
  2002-07-29 10:53 link errors in 2.5.29+bk Meelis Roos
@ 2002-07-29 12:19 ` Stelian Pop
  2002-07-30 19:58 ` Paul Larson
  1 sibling, 0 replies; 3+ messages in thread
From: Stelian Pop @ 2002-07-29 12:19 UTC (permalink / raw)
  To: Meelis Roos; +Cc: Linux Kernel Mailing List

On Mon, Jul 29, 2002 at 01:53:34PM +0300, Meelis Roos wrote:

> Seems to be connected to the recent migration thread changes:
> 
> init/init.o: In function `do_pre_smp_initcalls':
> init/init.o(.text+0x59): undefined reference to `migration_init'

The attached patch fixes this.

===== init/main.c 1.59 vs edited =====
--- 1.59/init/main.c	Mon Jul 29 08:07:28 2002
+++ edited/init/main.c	Mon Jul 29 12:21:56 2002
@@ -526,10 +526,14 @@
 
 static void do_pre_smp_initcalls(void)
 {
+#if CONFIG_SMP
 	extern int migration_init(void);
+#endif
 	extern int spawn_ksoftirqd(void);
 
+#if CONFIG_SMP
 	migration_init();
+#endif
 	spawn_ksoftirqd();
 }

Stelian.
-- 
Stelian Pop <stelian.pop@fr.alcove.com>
Alcove - http://www.alcove.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: link errors in 2.5.29+bk
  2002-07-29 10:53 link errors in 2.5.29+bk Meelis Roos
  2002-07-29 12:19 ` Stelian Pop
@ 2002-07-30 19:58 ` Paul Larson
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Larson @ 2002-07-30 19:58 UTC (permalink / raw)
  To: Meelis Roos; +Cc: lkml

On Mon, 2002-07-29 at 05:53, Meelis Roos wrote:

> aic7xxx_old has yet to be converted to cli removal:
> 
> drivers/built-in.o: In function `aic7xxx_handle_seqint':
> drivers/built-in.o(.text+0x2d2c4): undefined reference to `sti'
> drivers/built-in.o: In function `aic7xxx_isr':
> drivers/built-in.o(.text+0x320b4): undefined reference to `sti'

See if this works for you.

-Paul Larson

# 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.525   -> 1.526  
#	drivers/scsi/aic7xxx_old.c	1.22    -> 1.23   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/07/30	plars@plap.(none)	1.526
#  
# --------------------------------------------
#
diff -Nru a/drivers/scsi/aic7xxx_old.c b/drivers/scsi/aic7xxx_old.c
--- a/drivers/scsi/aic7xxx_old.c	Tue Jul 30 14:30:14 2002
+++ b/drivers/scsi/aic7xxx_old.c	Tue Jul 30 14:30:14 2002
@@ -5077,7 +5077,7 @@
         }
         else 
         {
-          sti();
+          local_irq_enable();
           panic("aic7xxx: AWAITING_MSG for an SCB that does "
                 "not have a waiting message.\n");
         }
@@ -6933,7 +6933,7 @@
 #endif
     if (errno & (SQPARERR | ILLOPCODE | ILLSADDR))
     {
-      sti();
+      local_irq_enable();
       panic("aic7xxx: unrecoverable BRKADRINT.\n");
     }
     if (errno & ILLHADDR)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-07-30 19:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-29 10:53 link errors in 2.5.29+bk Meelis Roos
2002-07-29 12:19 ` Stelian Pop
2002-07-30 19:58 ` Paul Larson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®