lkml.org 
[lkml]   [2013]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Add #includes needed to permit the removal of asm/system.h - sha1 96f951edb1f1bdbbc99b0cd458f9808bb83d58ae
Date
Michal Simek <monstr@monstr.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


\
 
 \ /
  Last update: 2013-01-03 18:21    [W:0.024 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site