Re: [PATCH 2/2] relay: move FIX_SIZE macro into relay.c

2013-03-20 Thread zhangwei(Jovi)
On 2013/3/19 4:19, Andrew Morton wrote: > On Mon, 18 Mar 2013 10:51:54 +0800 "zhangwei(Jovi)" > wrote: > >> +/* Needs a _much_ better name... */ >> +#define FIX_SIZE(x) x) - 1) & PAGE_MASK) + PAGE_SIZE) >> + > > Gad. That's the same as PAGE_ALIGN(), is it not? > Indeed, I will post anothe

Re: [PATCH 2/2] relay: move FIX_SIZE macro into relay.c

2013-03-18 Thread Andrew Morton
On Mon, 18 Mar 2013 10:51:54 +0800 "zhangwei(Jovi)" wrote: > +/* Needs a _much_ better name... */ > +#define FIX_SIZE(x) x) - 1) & PAGE_MASK) + PAGE_SIZE) > + Gad. That's the same as PAGE_ALIGN(), is it not? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

[PATCH 2/2] relay: move FIX_SIZE macro into relay.c

2013-03-17 Thread zhangwei(Jovi)
It's better to place FIX_SIZE macro in relay.c, instead of relay.h Signed-off-by: zhangwei(Jovi) --- include/linux/relay.h |3 --- kernel/relay.c|3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/relay.h b/include/linux/relay.h index 91cacc3..d7c