Hello
While upgrading from beta10 to beta16 I had few problems:
1.)
There is a problem when compiling on non SMP machines - they are still
used these days :)
The easiest fix is to change include/rtl_sync.h
>>>>
--- rtl_sync.h~ Wed Sep 15 21:46:16 1999
+++ rtl_sync.h Wed Oct 6 22:14:31 1999
@@ -3,12 +3,17 @@
#include <asm/rtl_sync.h>
+#ifdef __SMP__
#define rtl_spin_lock_irqsave(x, flags) \
do { rtl_no_interrupts(flags); rtl_spin_lock(x); } while (0)
#define rtl_spin_unlock_irqrestore(x, flags) \
do { rtl_spin_unlock(x); rtl_restore_interrupts(flags); } while
(0)
+#else
+#define rtl_spin_lock_irqsave(x, flags)
+#define rtl_spin_unlock_irqrestore(x, flags)
+#endif
#define rtl_critical(f) {rtl_spin_lock_irqsave(&RTL_SPIN_LOCK, f);}
#define rtl_end_critical(f) {rtl_spin_unlock_irqrestore(&RTL_SPIN_LOCK,
f);}
<<<<
But there remains warning about unsused variables.
2.)
Why there are ugly asm construction uncompilable by gcc2.95 - is there
any special
reason for this ???
Am I the only who is trying this version on non SMP machine ?
(For this moment it apears to be working)
--
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me
spread!
Zdenek Kabelac http://i.am/kabi/ [EMAIL PROTECTED] {debian.org; fi.muni.cz}
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/