From e843faf355c864beab81e74f0e39f8ad53d4c2bf Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Thu, 30 Sep 2010 19:30:35 -0400 Subject: radeon: fix fbLocation for >32 bit MC addresses If the fbLocation was at an address >32 bits, we'd fail. Change fbLocation to uint64_t and properly cast when needed. --- src/radeon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/radeon.h') diff --git a/src/radeon.h b/src/radeon.h index 134a4cf2..7a3f5b66 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -832,7 +832,7 @@ typedef struct { unsigned long long LinearAddr; /* Frame buffer physical address */ unsigned long long MMIOAddr; /* MMIO region physical address */ unsigned long long BIOSAddr; /* BIOS physical address */ - uint32_t fbLocation; + uint64_t fbLocation; uint32_t gartLocation; uint32_t mc_fb_location; uint32_t mc_agp_location; -- cgit v1.2.3