diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2016-04-22 19:41:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-20 17:55:42 -0700 |
commit | 6b1cabe8992441afb542503781f11b9cce91e285 (patch) | |
tree | bcab1c55fa1ba86f09896f891663ad6cec062815 /arch/sparc/include/asm | |
parent | 6e6e41879e07daccb967bc75a31f29689354d11b (diff) |
sparc32: drop superfluous cast in calls to __nocache_pa()
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm')
-rw-r--r-- | arch/sparc/include/asm/pgalloc_32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/pgalloc_32.h b/arch/sparc/include/asm/pgalloc_32.h index 21f6482b5ad5..0346c7e62452 100644 --- a/arch/sparc/include/asm/pgalloc_32.h +++ b/arch/sparc/include/asm/pgalloc_32.h @@ -29,7 +29,7 @@ static inline void free_pgd_fast(pgd_t *pgd) static inline void pgd_set(pgd_t * pgdp, pmd_t * pmdp) { - unsigned long pa = __nocache_pa((unsigned long)pmdp); + unsigned long pa = __nocache_pa(pmdp); set_pte((pte_t *)pgdp, __pte((SRMMU_ET_PTD | (pa >> 4)))); } |