Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 2.4.21-pre5-ac3 on alpha
@ 2003-03-20 13:02 Heid Oliver
  0 siblings, 0 replies; only message in thread
From: Heid Oliver @ 2003-03-20 13:02 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

In case somebody wants to try out 2.4.21-pre5-ac3 on alpha: This is what I had to fix (tested on PC164 and UP2000+).
	Oliver

*****************

diff -Nur a/drivers/ide/Config.in b/drivers/ide/Config.in
--- a/drivers/ide/Config.in	Thu Mar 13 12:48:11 2003
+++ b/drivers/ide/Config.in	Wed Mar 12 17:05:08 2003
@@ -43,7 +43,6 @@
 	    define_bool CONFIG_BLK_DEV_IDEDMA $CONFIG_BLK_DEV_IDEDMA_PCI
 	    dep_bool '      ATA Work(s) In Progress (EXPERIMENTAL)' CONFIG_IDEDMA_PCI_WIP $CONFIG_BLK_DEV_IDEDMA_PCI $CONFIG_EXPERIMENTAL
 #	    dep_bool '      Good-Bad DMA Model-Firmware (WIP)' CONFIG_IDEDMA_NEW_DRIVE_LISTINGS $CONFIG_IDEDMA_PCI_WIP
-            dep_tristate '    Pacific Digital ADMA-100 basic support' CONFIG_BLK_DEV_ADMA100
 	    dep_tristate '    AEC62XX chipset support' CONFIG_BLK_DEV_AEC62XX $CONFIG_BLK_DEV_IDEDMA_PCI
 	    dep_tristate '    ALI M15x3 chipset support' CONFIG_BLK_DEV_ALI15X3 $CONFIG_BLK_DEV_IDEDMA_PCI
 	    dep_mbool    '      ALI M15x3 WDC support (DANGEROUS)' CONFIG_WDC_ALI15X3 $CONFIG_BLK_DEV_ALI15X3
diff -Nur a/drivers/net/Config.in b/drivers/net/Config.in
--- a/drivers/net/Config.in	Thu Mar 13 12:48:06 2003
+++ b/drivers/net/Config.in	Wed Mar 12 17:03:53 2003
@@ -185,7 +185,7 @@
       dep_tristate '    Davicom DM910x/DM980x support' CONFIG_DM9102 $CONFIG_PCI
       dep_tristate '    EtherExpressPro/100 support (eepro100, original Becker driver)' CONFIG_EEPRO100 $CONFIG_PCI
       if [ "$CONFIG_VISWS" = "y" ]; then
-         define_mbool CONFIG_EEPRO100_PIO y
+         define_bool CONFIG_EEPRO100_PIO y
       else
          dep_mbool '      Use PIO instead of MMIO' CONFIG_EEPRO100_PIO $CONFIG_EEPRO100
       fi  
diff -Nur a/include/asm-alpha/bitops.h b/include/asm-alpha/bitops.h
--- a/include/asm-alpha/bitops.h	Thu Mar 13 12:48:12 2003
+++ b/include/asm-alpha/bitops.h	Wed Mar 12 17:09:07 2003
@@ -276,6 +276,21 @@
 #endif
 }
 
+
+/*
+ * fls: find last bit set.
+ */
+#if defined(__alpha_cix__) && defined(__alpha_fix__)
+static inline int fls(int word)
+{
+	long result;
+	__asm__("ctlz %1,%0" : "=r"(result) : "r"(word & 0xffffffff));
+	return 64 - result;
+}
+#else
+#define fls	generic_fls
+#endif
+
 /*
  * __ffs = Find First set bit in word.  Undefined if no set bit exists.
  */
diff -Nur a/kernel/sched.c b/kernel/sched.c
--- a/kernel/sched.c	Thu Mar 13 12:48:12 2003
+++ b/kernel/sched.c	Wed Mar 12 19:07:22 2003
@@ -16,6 +16,7 @@
  *  		Libenzi, Robert Love, and Rusty Russell.
  */
 
+#include <asm/bitops.h>
 #include <linux/mm.h>
 #include <linux/nmi.h>
 #include <linux/init.h>
@@ -479,13 +480,12 @@
  *
  * @prev: the thread we just switched away from.
  */
-#if CONFIG_SMP
 asmlinkage void schedule_tail(task_t *prev)
 {
 	finish_arch_switch(this_rq());
 	finish_arch_schedule(prev);
 }
-#endif
+
 
 /*
  * context_switch - switch to the new MM and the new
-




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-20 13:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-20 13:02 2.4.21-pre5-ac3 on alpha Heid Oliver

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