powerpc/mm: Avoid avoidable void* pointer
Change pgdir from a void to real type. Having this as a void is stupid and has already caused 1 bug. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
6f08cb3be6
commit
0b97fee0ef
1 changed files with 1 additions and 1 deletions
|
@ -1070,7 +1070,7 @@ void hash_preload(struct mm_struct *mm, unsigned long ea,
|
|||
unsigned long access, unsigned long trap)
|
||||
{
|
||||
unsigned long vsid;
|
||||
void *pgdir;
|
||||
pgd_t *pgdir;
|
||||
pte_t *ptep;
|
||||
unsigned long flags;
|
||||
int rc, ssize, local = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue