From 4e169f903071b6201bdb046020d9c73f95e64715 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 22 Apr 2010 00:52:42 +0000 Subject: 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 Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5474 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/amd/model_lx/msrinit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/cpu/amd/model_lx/msrinit.c b/src/cpu/amd/model_lx/msrinit.c index 2ed7c94f71..c7b45470e6 100644 --- a/src/cpu/amd/model_lx/msrinit.c +++ b/src/cpu/amd/model_lx/msrinit.c @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include + struct msrinit { u32 msrnum; msr_t msr; -- cgit v1.2.3