Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c17a6554 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

MIPS: page.h: Provide more readable definition for PAGE_MASK.

parent a2c763e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@
#define PAGE_SHIFT	16
#endif
#define PAGE_SIZE	(_AC(1,UL) << PAGE_SHIFT)
#define PAGE_MASK       (~((1 << PAGE_SHIFT) - 1))
#define PAGE_MASK       (~(PAGE_SIZE - 1))

#ifdef CONFIG_HUGETLB_PAGE
#define HPAGE_SHIFT	(PAGE_SHIFT + PAGE_SHIFT - 3)