projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge master.kernel.org:/home/rmk/linux-2.6-arm
[linux-block.git]
/
include
/
asm-x86_64
/
pgtable.h
diff --git
a/include/asm-x86_64/pgtable.h
b/include/asm-x86_64/pgtable.h
index 2cb483516459dd3efb48fa48269b66c3beb8d072..dd8711ecaf2ff71cf1bf0c6fd14d3ba690849465 100644
(file)
--- a/
include/asm-x86_64/pgtable.h
+++ b/
include/asm-x86_64/pgtable.h
@@
-384,7
+384,7
@@
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
}
#define pte_index(address) \
- ((
address
>> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
+ ((
(address)
>> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
#define pte_offset_kernel(dir, address) ((pte_t *) pmd_page_kernel(*(dir)) + \
pte_index(address))