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 <[email protected]>
Acked-by: Stefan Reinauer <[email protected]>

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;

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to