lkml.org 
[lkml]   [2012]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: build failure after merge of the final tree (akpm tree related)
Hi,

On Thu, 13 Sep 2012 18:01:36 +0800 Shaohua Li <shli@kernel.org> wrote:
>
> Index: linux/arch/microblaze/include/asm/atomic.h
> ===================================================================
> --- linux.orig/arch/microblaze/include/asm/atomic.h 2012-09-13 17:56:54.206807900 +0800
> +++ linux/arch/microblaze/include/asm/atomic.h 2012-09-13 17:57:18.202506238 +0800
> @@ -9,7 +9,7 @@
> * Atomically test *v and decrement if it is greater than 0.
> * The function returns the old value of *v minus 1.
> */
> -static inline int atomic_dec_if_positive(atomic_t *v)
> +static inline int __atomic_dec_if_positive(atomic_t *v)
> {
> unsigned long flags;
> int res;
> @@ -22,5 +22,6 @@ static inline int atomic_dec_if_positive
>
> return res;
> }
> +#define atomic_dec_if_positive __atomic_dec_if_positive

You could just do

#define atomic_dec_if_positive atomic_dec_if_positive

without renaming the function.

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-09-13 15:21    [W:0.033 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site