mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 16:48:50 +08:00
bsps/powerpc: Fix PAGE_ALIGN() macros
Previous warning fixes which include <sys/param.h> broke this macro. The definition of PAGE_MASK changed.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
* *pmemsize by the size of the page table.
|
||||
*/
|
||||
/* to align the pointer to the (next) page boundary */
|
||||
#define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK)
|
||||
#define PAGE_ALIGN(addr) (((addr) + PAGE_MASK) & ~PAGE_MASK)
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user