summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2003-11-02 16:58:01 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2003-11-02 16:58:01 +0000
commit6f2e86d2782425e8e5b902c2a2958cda4666f471 (patch)
treefca7dbaae27a8a8e1175b0bf95b9800e251bacd8 /src/cpu
parent36ab698a013528c864933b4e8c836ac1dcd87138 (diff)
downloadcoreboot-6f2e86d2782425e8e5b902c2a2958cda4666f471.tar.xz
trashing stack
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1239 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/ppc/ppc4xx/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/ppc/ppc4xx/clock.c b/src/cpu/ppc/ppc4xx/clock.c
index 1775b2d6d0..a7ec52fff9 100644
--- a/src/cpu/ppc/ppc4xx/clock.c
+++ b/src/cpu/ppc/ppc4xx/clock.c
@@ -39,7 +39,7 @@ void get_sys_info (struct ppc4xx_sys_info * sysInfo)
unsigned long psr;
unsigned long m;
- memset(&sysInfo, 0, sizeof(*sysInfo));
+ memset(sysInfo, 0, sizeof(*sysInfo));
/*
* Read PLL Mode register