Re: Linux 2.4.26-rc1

From: Arkadiusz Miskiewicz
Date: Sun Mar 28 2004 - 10:28:18 EST


Dnia Sunday 28 of March 2004 06:26, Marcelo Tosatti napisał:
> Finally, -rc1.
>
> The first -rc contains an ACPI update, networking fixes, amongst others.
ACPI uses cmpxchg so it's not possible to build it for i386 it seems.

+__acpi_release_global_lock (unsigned int *lock)
+{
+ unsigned int old, new, val;
+ do {
+ old = *lock;
+ new = old & ~0x3;
+ val = cmpxchg(lock, old, new);
+ } while (unlikely (val != old));
+ return old & 0x1;
+}

/home/areq/rpm/BUILD/linux-2.4.25/arch/i386/lib/lib.a /home/areq/rpm/BUILD/linux-2.4.25/lib/lib.a /home/areq/rpm/BUILD/linux-2.4.25/arch/i386/lib/lib.a
\
--end-group \
-o vmlinux
drivers/acpi/acpi.o(.text+0x4cf4): In function `acpi_ev_global_lock_handler':
: undefined reference to `cmpxchg'
drivers/acpi/acpi.o(.text+0x4dc6): In function `acpi_ev_acquire_global_lock':
: undefined reference to `cmpxchg'
drivers/acpi/acpi.o(.text+0x4e4b): In function `acpi_ev_release_global_lock':
: undefined reference to `cmpxchg'

--
Arkadiusz Miśkiewicz CS at FoE, Wroclaw University of Technology
arekm.pld-linux.org, 1024/3DB19BBD, JID: arekm.jabber.org, PLD/Linux
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/