diff options
| author | Christophe Leroy <[email protected]> | 2024-08-08 09:32:47 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2024-08-12 11:49:53 +0000 |
| commit | e7a9af8c93aa9f408f9972809b642faeec5287e1 (patch) | |
| tree | 97f3fe972e95fdfa6adab1667fcdeeb08bfd9ed1 /lib/debugobjects.c | |
| parent | soc: fsl: qbman: remove unused struct 'cgr_comp' (diff) | |
| download | kernel-e7a9af8c93aa9f408f9972809b642faeec5287e1.tar.gz kernel-e7a9af8c93aa9f408f9972809b642faeec5287e1.zip | |
powerpc/mm: Fix size of allocated PGDIR
Commit 6b0e82791bd0 ("powerpc/e500: switch to 64 bits PGD on 85xx
(32 bits)") increased the size of PGD entries but failed to increase
the PGD directory.
Use the size of pgd_t instead of the size of pointers to calculate
the allocated size.
Reported-by: Guenter Roeck <[email protected]>
Fixes: 6b0e82791bd0 ("powerpc/e500: switch to 64 bits PGD on 85xx (32 bits)")
Signed-off-by: Christophe Leroy <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/1cdaacb391cbd3e0240f0e0faf691202874e9422.1723109462.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
