APMD on Linux 2.2.18 and include/linux/mc146818rtc.h

APMD on Linux 2.2.18 and include/linux/mc146818rtc.h

Post by Marc Esipovic » Mon, 19 Feb 2001 04:02:46



        I've noticed this when attempting to build APMD, mc146818rtc.h has
a reference to a spinlock_t while asm/spinlock.h is not included.

        Patch follows:

--- linux-2.2.18.orig/include/linux/mc146818rtc.h    Fri Jan 12 19:15:00 2001

 #ifndef _MC146818RTC_H
 #define _MC146818RTC_H
 #include <asm/io.h>
+#include <asm/spinlock.h>

 #ifndef RTC_PORT
 #define RTC_PORT(x)    (0x70 + (x))

        bye,
                Marc.

--

fingerprint = D1F0 5689 967F B87A 98EB  C64D 256A D6BF 80DE 6D3C

          /"\
          \ /     ASCII Ribbon Campaign
           X      Against HTML Mail
          / \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

APMD on Linux 2.2.18 and include/linux/mc146818rtc.h

Post by Paul Gortmake » Tue, 20 Feb 2001 16:54:40



>         I've noticed this when attempting to build APMD, mc146818rtc.h has
> a reference to a spinlock_t while asm/spinlock.h is not included.

>         Patch follows:

User space does not need to ever see any kernel spinlocks - you will find
such a fix for this is in 2.2.19pre already though, so you can make use
of that.

Thanks for the report anyway,
Paul.

_________________________________________________________
Do You Yahoo!?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/