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
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
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
3 matches
Mail list logo