ChangeSet 1.2035.1.64, 2005/02/23 10:33:11-08:00, [EMAIL PROTECTED]
agp: aper_base is unsigned
Not that anybody cares about the sign, but the signed type does
the wrong thing for right shifts. Which we had.
agp_backend.h | 2 +-
agpgart.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff -Nru a/include/linux/agp_backend.h b/include/linux/agp_backend.h
--- a/include/linux/agp_backend.h 2005-02-23 15:07:54 -08:00
+++ b/include/linux/agp_backend.h 2005-02-23 15:07:54 -08:00
@@ -54,7 +54,7 @@
struct pci_dev *device;
enum chipset_type chipset;
unsigned long mode;
- off_t aper_base;
+ unsigned long aper_base;
size_t aper_size;
int max_memory; /* In pages */
int current_memory;
diff -Nru a/include/linux/agpgart.h b/include/linux/agpgart.h
--- a/include/linux/agpgart.h 2005-02-23 15:07:54 -08:00
+++ b/include/linux/agpgart.h 2005-02-23 15:07:54 -08:00
@@ -64,7 +64,7 @@
struct agp_version version; /* version of the driver */
__u32 bridge_id; /* bridge vendor/device */
__u32 agp_mode; /* mode info of bridge */
- off_t aper_base; /* base of aperture */
+ unsigned long aper_base;/* base of aperture */
size_t aper_size; /* size of aperture */
size_t pg_total; /* max pages (swap + system) */
size_t pg_system; /* max pages (system) */
@@ -118,7 +118,7 @@
struct agp_version version; /* version of the driver */
u32 bridge_id; /* bridge vendor/device */
u32 agp_mode; /* mode info of bridge */
- off_t aper_base; /* base of aperture */
+ unsigned long aper_base;/* base of aperture */
size_t aper_size; /* size of aperture */
size_t pg_total; /* max pages (swap + system) */
size_t pg_system; /* max pages (system) */
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html