projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: pgtable-3level: Fix cast to pointer from integer of different size
[linux-2.6-microblaze.git]
/
arch
/
sh
/
include
/
asm
/
pgtable-3level.h
diff --git
a/arch/sh/include/asm/pgtable-3level.h
b/arch/sh/include/asm/pgtable-3level.h
index
56bf35c
..
cdced80
100644
(file)
--- a/
arch/sh/include/asm/pgtable-3level.h
+++ b/
arch/sh/include/asm/pgtable-3level.h
@@
-34,7
+34,7
@@
typedef struct { unsigned long long pmd; } pmd_t;
static inline pmd_t *pud_pgtable(pud_t pud)
{
- return (pmd_t *)pud_val(pud);
+ return (pmd_t *)
(unsigned long)
pud_val(pud);
}
/* only used by the stubbed out hugetlb gup code, should never be called */