diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-11-28 19:00:48 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-02-04 23:33:32 -0500 |
commit | 1fa4db7d308da04f6644c5cb8eed244c200d4ed5 (patch) | |
tree | 0b41c955f2291ba1c8bba1b6c08127815729deaa /drivers | |
parent | 2162e6a2b0cd5acbb9bd8a3c94e1c1269b078295 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/agp/intel-agp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c index ce75fa3a4723..8e61a0530485 100644 --- a/drivers/char/agp/intel-agp.c +++ b/drivers/char/agp/intel-agp.c | |||
@@ -861,7 +861,8 @@ static void intel_i965_g33_setup_chipset_flush(void) | |||
861 | 861 | ||
862 | intel_alloc_chipset_flush_resource(); | 862 | intel_alloc_chipset_flush_resource(); |
863 | 863 | ||
864 | pci_write_config_dword(agp_bridge->dev, I965_IFPADDR + 4, (intel_private.ifp_resource.start >> 32)); | 864 | pci_write_config_dword(agp_bridge->dev, I965_IFPADDR + 4, |
865 | upper_32_bits(intel_private.ifp_resource.start)); | ||
865 | pci_write_config_dword(agp_bridge->dev, I965_IFPADDR, (intel_private.ifp_resource.start & 0xffffffff) | 0x1); | 866 | pci_write_config_dword(agp_bridge->dev, I965_IFPADDR, (intel_private.ifp_resource.start & 0xffffffff) | 0x1); |
866 | } else { | 867 | } else { |
867 | u64 l64; | 868 | u64 l64; |