summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzhangwei(Jovi) <jovi.zhangwei@huawei.com>2013-04-30 15:28:40 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-30 17:04:09 -0700
commit536b39ecf1b52ab71c2c126db0137611b9e1a4d4 (patch)
treec6c6c3e848bc927bf560b2ddf3381230d4e39649 /include
parent8359f689e23a607ec6758737551045997848ac75 (diff)
downloadlinux-536b39ecf1b52ab71c2c126db0137611b9e1a4d4.tar.gz
linux-536b39ecf1b52ab71c2c126db0137611b9e1a4d4.tar.bz2
linux-536b39ecf1b52ab71c2c126db0137611b9e1a4d4.zip
kernel/relay.c: move FIX_SIZE macro into relay.c
It's better to place FIX_SIZE macro in relay.c, instead of relay.h Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@huawei.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/relay.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/relay.h b/include/linux/relay.h
index 91cacc34c159..d7c8359693c6 100644
--- a/include/linux/relay.h
+++ b/include/linux/relay.h
@@ -20,9 +20,6 @@
#include <linux/poll.h>
#include <linux/kref.h>
-/* Needs a _much_ better name... */
-#define FIX_SIZE(x) ((((x) - 1) & PAGE_MASK) + PAGE_SIZE)
-
/*
* Tracks changes to rchan/rchan_buf structs
*/