[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <14685.1357230917@warthog.procyon.org.uk>
Date: Thu, 03 Jan 2013 16:35:17 +0000
From: David Howells <dhowells@...hat.com>
To: Michal Simek <monstr@...str.eu>
Cc: dhowells@...hat.com, linux-next@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>,
Arnd Bergmann <arnd@...db.de>
Subject: Re: Add #includes needed to permit the removal of asm/system.h - sha1 96f951edb1f1bdbbc99b0cd458f9808bb83d58ae
Michal Simek <monstr@...str.eu> wrote:
> It is because microblaze uses cmpxchg_local which is defined
> asm-generic/atomic.h file.
> Arnds patch has added it to atomic.h
> asm-generic: add generic atomic.h and io.h
> (sha1: 3f7e212df82ca0459d44c91d9e019efd1b5f936c)
>
> What about to move cmpxchg_local and cmpxchg64_local from atomic.h to
> cmpxchg-local.h?
Hmmm... cmpxchg_local() should be obtained through asm/cmpxchg.h, not
asm/atomic.h. See:
grep -r define\\s*cmpxchg_local arch
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists