fix AGP warning
drivers/char/agp/intel-agp.c: In function 'intel_i965_g33_setup_chipset_flush': drivers/char/agp/intel-agp.c:872: warning: right shift count >= width of type I wish the agp code wasn't written in a 10,000-column xterm :( Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
parent
2162e6a2b0
commit
1fa4db7d30
1 changed files with 2 additions and 1 deletions
|
@ -861,7 +861,8 @@ static void intel_i965_g33_setup_chipset_flush(void)
|
|||
|
||||
intel_alloc_chipset_flush_resource();
|
||||
|
||||
pci_write_config_dword(agp_bridge->dev, I965_IFPADDR + 4, (intel_private.ifp_resource.start >> 32));
|
||||
pci_write_config_dword(agp_bridge->dev, I965_IFPADDR + 4,
|
||||
upper_32_bits(intel_private.ifp_resource.start));
|
||||
pci_write_config_dword(agp_bridge->dev, I965_IFPADDR, (intel_private.ifp_resource.start & 0xffffffff) | 0x1);
|
||||
} else {
|
||||
u64 l64;
|
||||
|
|
Loading…
Reference in a new issue