No need to bzero splpar_vpa entries
splpar_vpa is in the BSS, so is already zeroed when the kernel starts up. Tested by: Leandro Lupori
This commit is contained in:
@@ -146,7 +146,6 @@ chrp_attach(platform_t plat)
|
||||
|
||||
/* Set up important VPA fields */
|
||||
for (i = 0; i < MAXCPU; i++) {
|
||||
bzero(splpar_vpa[i], sizeof(splpar_vpa[i]));
|
||||
/* First two: VPA size */
|
||||
splpar_vpa[i][4] =
|
||||
(uint8_t)((sizeof(splpar_vpa[i]) >> 8) & 0xff);
|
||||
|
||||
Reference in New Issue
Block a user