linux-next: build failure after merge of the final tree (akpm treerelated)

From: Stephen Rothwell
Date: Thu Sep 13 2012 - 04:01:27 EST

Hi all,

After merging the final tree, today's linux-next build (sparc64 defconfig)
failed like this:

mm/internal.h: In function 'swap_cache_hit':
mm/internal.h:377:3: error: implicit declaration of function 'atomic_dec_if_positive' [-Werror=implicit-function-declaration]

Caused by commit "swap: add a simple detector for inappropriate swapin
readahead" from the akmp tree. atomic_dec_if_positive() appears to only
exist on avr32, microblaze, mips, powerpc and x86 ...

I have reverted that commit (and the following trivial fix commit) for

Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature