Date:2012-10-16 22:20:27 (9 years 11 months ago)
Author:Ralf Baechle
Commit:c17a6554782ad531f4713b33fd6339ba67ef6391
Message:MIPS: page.h: Provide more readable definition for PAGE_MASK.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Files: arch/mips/include/asm/page.h (1 diff)

Change Details

arch/mips/include/asm/page.h
3131#define PAGE_SHIFT 16
3232#endif
3333#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT)
34#define PAGE_MASK (~((1 << PAGE_SHIFT) - 1))
34#define PAGE_MASK (~(PAGE_SIZE - 1))
3535
3636#ifdef CONFIG_HUGETLB_PAGE
3737#define HPAGE_SHIFT (PAGE_SHIFT + PAGE_SHIFT - 3)

Archive Download the corresponding diff file



interactive