mm: make swap token dummies static inlines
authorJohannes Weiner <hannes@cmpxchg.org>
Tue, 22 Sep 2009 00:01:13 +0000 (17:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:25 +0000 (07:17 -0700)
commita5abeeacc44bbef2935a7a8e939264c28962def2
treef4506e548c4a7991fcceef8edfd65e3a6911507f
parent83d5cde47dedf01b6a4a4331882cbc0a7eea3c2e
mm: make swap token dummies static inlines

Make use of the compiler's typechecking on !CONFIG_SWAP as well.

[akpm@linux-foundation.org: build fix]
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/swap.h