summaryrefslogtreecommitdiff
path: root/src/cpu/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/amd')
-rw-r--r--src/cpu/amd/family_10h-family_15h/fidvid.c2
-rw-r--r--src/cpu/amd/family_10h-family_15h/init_cpus.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/amd/family_10h-family_15h/fidvid.c b/src/cpu/amd/family_10h-family_15h/fidvid.c
index 1c2b214dce..917cde307f 100644
--- a/src/cpu/amd/family_10h-family_15h/fidvid.c
+++ b/src/cpu/amd/family_10h-family_15h/fidvid.c
@@ -1042,7 +1042,7 @@ struct ap_apicid_st {
u8 apicid[NODE_NUMS * 4];
};
-static void store_ap_apicid(unsigned ap_apicid, void *gp)
+static void store_ap_apicid(unsigned int ap_apicid, void *gp)
{
struct ap_apicid_st *p = gp;
diff --git a/src/cpu/amd/family_10h-family_15h/init_cpus.h b/src/cpu/amd/family_10h-family_15h/init_cpus.h
index 07d7dbf8a9..4be6ee806f 100644
--- a/src/cpu/amd/family_10h-family_15h/init_cpus.h
+++ b/src/cpu/amd/family_10h-family_15h/init_cpus.h
@@ -26,7 +26,7 @@
#define NODE_MC(x) NODE_PCI(x,3)
#define NODE_LC(x) NODE_PCI(x,4)
-unsigned int get_sbdn(unsigned bus);
+unsigned int get_sbdn(unsigned int bus);
void cpuSetAMDMSR(uint8_t node_id);
typedef void (*process_ap_t) (u32 apicid, void *gp);