[coreboot] [commit] r5474 - trunk/src/cpu/amd/model_lx
repository service
svn at coreboot.org
Thu Apr 22 02:52:42 CEST 2010
Author: stepan
Date: Thu Apr 22 02:52:42 2010
New Revision: 5474
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5474
Log:
fix ARRAY_SIZE issue.
the gx2+5536 issue is still open, and it reveils a serious problem with the
code that was hidden under a bunch of warnings until now.
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified:
trunk/src/cpu/amd/model_lx/msrinit.c
Modified: trunk/src/cpu/amd/model_lx/msrinit.c
==============================================================================
--- trunk/src/cpu/amd/model_lx/msrinit.c Wed Apr 21 22:55:38 2010 (r5473)
+++ trunk/src/cpu/amd/model_lx/msrinit.c Thu Apr 22 02:52:42 2010 (r5474)
@@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <stdlib.h>
+
struct msrinit {
u32 msrnum;
msr_t msr;
More information about the coreboot
mailing list