[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    Re: Current BK tree fails to build.
From:       "George G. Davis" <gdavis () mvista ! com>
Date:       2004-05-18 1:32:49
Message-ID: 20040518013249.GH1148 () mvista ! com
[Download RAW message or body]

On Mon, May 17, 2004 at 10:47:53PM +0100, Russell King - ARM Linux wrote:
> On Mon, May 17, 2004 at 01:07:48PM -0400, George G. Davis wrote:
> > LD      .tmp_vmlinux1
> > mm/built-in.o(.text+0x1143c): In function `shrink_cache':
> > /Projects/OSS/project.bkbits.net/linux.bkbits.net/linux-2.5/mm/vmscan.c:504: \
> > undefined reference to `atomic_inc_and_test' mm/built-in.o(.text+0x11bdc): In \
> > function `refill_inactive_zone': \
> > /Projects/OSS/project.bkbits.net/linux.bkbits.net/linux-2.5/mm/vmscan.c:608: \
> > undefined reference to `atomic_inc_and_test' make[1]: *** [.tmp_vmlinux1] Error 1
> > make: *** [zImage] Error 2
> > [gdavis@davisg linux-2.5]$ view \
> > /Projects/OSS/project.bkbits.net/linux.bkbits.net/linux-2.5/mm/vmscan.c
> 
> I'd actually prefer to avoid reimplementing the atomic add operation
> more times than is necessary, so I've taken the approach used by
> alpha (with atomic_add_return / atomic_sub_return) and dropped it
> into ARM.

Ah, Ok, I see what you mean. Very well. Thanks!

--
Regards,
George

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:       http://www.arm.linux.org.uk/armlinux/mlfaq.php
Etiquette: http://www.arm.linux.org.uk/armlinux/mletiquette.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic