diff options
author | Dave Airlie <airlied@redhat.com> | 2008-02-20 10:37:08 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-02-20 10:37:08 +1000 |
commit | 44a207fc66c13c82f627178f9f858b8f3e76028f (patch) | |
tree | 951816f531fdb673c779b85b43c7d887c8ec6594 /drivers/char/agp/sworks-agp.c | |
parent | 2e374748c73f34e018a1c13a86a96a15fc55a65a (diff) |
agp: fix missing casts that produced a warning.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char/agp/sworks-agp.c')
-rw-r--r-- | drivers/char/agp/sworks-agp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/agp/sworks-agp.c b/drivers/char/agp/sworks-agp.c index ae06f898206..e08934e58f3 100644 --- a/drivers/char/agp/sworks-agp.c +++ b/drivers/char/agp/sworks-agp.c @@ -53,7 +53,7 @@ static int serverworks_create_page_map(struct serverworks_page_map *page_map) return -ENOMEM; } - set_memory_uc(page_map->real, 1); + set_memory_uc((unsigned long)page_map->real, 1); page_map->remapped = page_map->real; for (i = 0; i < PAGE_SIZE / sizeof(unsigned long); i++) @@ -65,7 +65,7 @@ static int serverworks_create_page_map(struct serverworks_page_map *page_map) static void serverworks_free_page_map(struct serverworks_page_map *page_map) { - set_memory_wb(page_map->real, 1); + set_memory_wb((unsigned long)page_map->real, 1); free_page((unsigned long) page_map->real); } |