Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1487792
| From | zijun_hu <zijun_hu@zoho.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RESEND PATCH 1/1] linux/mm.h: canonicalize macro PAGE_ALIGNED() definition |
| Date | 2016-09-21 06:20 +0200 |
| Message-ID | <sjHaN-49f-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
From: zijun_hu <zijun_hu@htc.com> canonicalize macro PAGE_ALIGNED() definition Signed-off-by: zijun_hu <zijun_hu@htc.com> --- include/linux/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index ef815b9..ec68186 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -126,7 +126,7 @@ extern int overcommit_kbytes_handler(struct ctl_table *, int, void __user *, #define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE) /* test whether an address (unsigned long or pointer) is aligned to PAGE_SIZE */ -#define PAGE_ALIGNED(addr) IS_ALIGNED((unsigned long)addr, PAGE_SIZE) +#define PAGE_ALIGNED(addr) IS_ALIGNED((unsigned long)(addr), PAGE_SIZE) /* * Linux kernel virtual memory manager primitives. -- 1.9.1
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[RESEND PATCH 1/1] linux/mm.h: canonicalize macro PAGE_ALIGNED() definition zijun_hu <zijun_hu@zoho.com> - 2016-09-21 06:20 +0200
csiph-web