diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-09-29 14:56:15 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-09-29 14:56:15 +0000 |
commit | 6e2357676fb9ccf202ac3dbc66c83a040f061a4e (patch) | |
tree | 3cb788b3a5c6866737ea33894ce35ebb4dd80deb /src/northbridge/amd/amdk8/exit_from_self.c | |
parent | 5e54871375a3416c576d1d1fbdfddda2dbcc7411 (diff) | |
download | coreboot-6e2357676fb9ccf202ac3dbc66c83a040f061a4e.tar.xz |
Remove some warnings.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4686 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/amd/amdk8/exit_from_self.c')
-rw-r--r-- | src/northbridge/amd/amdk8/exit_from_self.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/northbridge/amd/amdk8/exit_from_self.c b/src/northbridge/amd/amdk8/exit_from_self.c index 5c7ba00ff9..5928328f38 100644 --- a/src/northbridge/amd/amdk8/exit_from_self.c +++ b/src/northbridge/amd/amdk8/exit_from_self.c @@ -25,7 +25,7 @@ void exit_from_self(int controllers, const struct mem_controller *ctrl, u32 pcidev; u8 bitmask; u8 is_post_rev_g; - u32 cpuid; + u32 local_cpuid; for (i = 0; i < controllers; i++) { if (!sysinfo->ctrl_present[i]) @@ -36,8 +36,8 @@ void exit_from_self(int controllers, const struct mem_controller *ctrl, continue; } - cpuid = pci_read_config32(ctrl[i].f3, 0xfc); - is_post_rev_g = ((cpuid & 0xfff00) > 0x50f00); + local_cpuid = pci_read_config32(ctrl[i].f3, 0xfc); + is_post_rev_g = ((local_cpuid & 0xfff00) > 0x50f00); /* ChipKill */ dcl = pci_read_config32(ctrl[i].f2, DRAM_CONFIG_LOW); |