Date: Fri, 11 May 2018 02:04:02 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333478 - head/sys/powerpc/pseries Message-ID: <201805110204.w4B242hH081196@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Fri May 11 02:04:01 2018 New Revision: 333478 URL: https://svnweb.freebsd.org/changeset/base/333478 Log: 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 Modified: head/sys/powerpc/pseries/platform_chrp.c Modified: head/sys/powerpc/pseries/platform_chrp.c ============================================================================== --- head/sys/powerpc/pseries/platform_chrp.c Fri May 11 00:32:31 2018 (r333477) +++ head/sys/powerpc/pseries/platform_chrp.c Fri May 11 02:04:01 2018 (r333478) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805110204.w4B242hH081196>