projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures
[profile/ivi/kernel-adaptation-intel-automotive.git]
/
include
/
asm-cris
/
page.h
diff --git
a/include/asm-cris/page.h
b/include/asm-cris/page.h
index
c45bb1e
..
d19272b
100644
(file)
--- a/
include/asm-cris/page.h
+++ b/
include/asm-cris/page.h
@@
-60,9
+60,6
@@
typedef struct page *pgtable_t;
#define page_to_phys(page) __pa((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
-/* to align the pointer to the (next) page boundary */
-#define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK)
-
#ifndef __ASSEMBLY__
#endif /* __ASSEMBLY__ */