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:
Justin Hibbits
2018-05-11 02:04:01 +00:00
parent 0ef50b4ec8
commit 04de51dbab
-1
View File
@@ -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);