[parisc-linux-cvs] 2.4.17-pa30
Thomas Bogendoerfer
tsbogend@alpha.franken.de
Sun, 24 Feb 2002 03:25:09 +0100
I've commited fixes for the crash, if /sbin/hotplug is missing and
the crash with /dev/lp0, if parport pc is enabled non superio machines
Thomas.
Index: arch/parisc/kernel/entry.S
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc/kernel/entry.S,v
retrieving revision 1.88
diff -u -p -r1.88 entry.S
--- arch/parisc/kernel/entry.S 2001/10/04 11:05:45 1.88
+++ arch/parisc/kernel/entry.S 2002/02/23 17:00:51
@@ -611,6 +611,7 @@ __execve:
/* yes, this will trap and die. */
copy %r15, %r2
+ copy %r16, %r30
bv %r0(%r2)
nop
Index: include/linux/parport.h
===================================================================
RCS file: /home/cvs/parisc/linux/include/linux/parport.h,v
retrieving revision 1.9
diff -u -p -r1.9 parport.h
--- include/linux/parport.h 2001/11/29 15:50:01 1.9
+++ include/linux/parport.h 2002/02/24 02:15:10
@@ -541,7 +541,7 @@ extern void dec_parport_count(void);
extern void inc_parport_count(void);
/* If PC hardware is the only type supported, we can optimise a bit. */
-#if (defined(CONFIG_PARPORT_PC) || defined(CONFIG_PARPORT_PC_MODULE)) && !(defined(CONFIG_PARPORT_ARC) || defined(CONFIG_PARPORT_ARC_MODULE)) && !(defined(CONFIG_PARPORT_AMIGA) || defined(CONFIG_PARPORT_AMIGA_MODULE)) && !(defined(CONFIG_PARPORT_MFC3) || defined(CONFIG_PARPORT_MFC3_MODULE)) && !(defined(CONFIG_PARPORT_ATARI) || defined(CONFIG_PARPORT_ATARI_MODULE)) && !(defined(CONFIG_USB_USS720) || defined(CONFIG_USB_USS720_MODULE)) && !(defined(CONFIG_PARPORT_SUNBPP) || defined(CONFIG_PARPORT_SUNBPP_MODULE)) && !defined(CONFIG_PARPORT_OTHER)
+#if (defined(CONFIG_PARPORT_PC) || defined(CONFIG_PARPORT_PC_MODULE)) && !(defined(CONFIG_PARPORT_ARC) || defined(CONFIG_PARPORT_ARC_MODULE)) && !(defined(CONFIG_PARPORT_AMIGA) || defined(CONFIG_PARPORT_AMIGA_MODULE)) && !(defined(CONFIG_PARPORT_MFC3) || defined(CONFIG_PARPORT_MFC3_MODULE)) && !(defined(CONFIG_PARPORT_ATARI) || defined(CONFIG_PARPORT_ATARI_MODULE)) && !(defined(CONFIG_USB_USS720) || defined(CONFIG_USB_USS720_MODULE)) && !(defined(CONFIG_PARPORT_SUNBPP) || defined(CONFIG_PARPORT_SUNBPP_MODULE)) && !(defined(CONFIG_PARPORT_GSC) || defined(CONFIG_PARPORT_GSC_MODULE)) && !defined(CONFIG_PARPORT_OTHER)
#undef PARPORT_NEED_GENERIC_OPS
#include <linux/parport_pc.h>
--
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea. [ Alexander Viro on linux-kernel ]