* [PATCH] Fix 64bit issues in trident frame buffer driver
@ 2003-10-07 18:08 Andi Kleen
0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2003-10-07 18:08 UTC (permalink / raw)
To: linux-kernel; +Cc: trivial
[not sure if there's a trident framebuffer maintainer. Sending it to
the trivial patch monkey for now]
While going through some warnings on x86-64 I fixed this
obvious 64bit problem.
-Andi
diff -u linux-2.5-cleanup/drivers/video/tridentfb.c-o linux-2.5-cleanup/drivers/video/tridentfb.c
--- linux-2.5-cleanup/drivers/video/tridentfb.c-o 2003-08-22 13:36:35.000000000 +0200
+++ linux-2.5-cleanup/drivers/video/tridentfb.c 2003-12-02 17:14:35.642957672 +0100
@@ -28,7 +28,7 @@
struct tridentfb_par {
int vclk; //in MHz
- unsigned int io_virt; //iospace virtual memory address
+ unsigned long io_virt; //iospace virtual memory address
};
unsigned char eng_oper; //engine operation...
@@ -1102,7 +1102,7 @@
return -1;
}
- default_par.io_virt = (unsigned int)ioremap_nocache(tridentfb_fix.mmio_start, tridentfb_fix.mmio_len);
+ default_par.io_virt = (unsigned long)ioremap_nocache(tridentfb_fix.mmio_start, tridentfb_fix.mmio_len);
if (!default_par.io_virt) {
release_region(tridentfb_fix.mmio_start, tridentfb_fix.mmio_len);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-10-07 18:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-07 18:08 [PATCH] Fix 64bit issues in trident frame buffer driver Andi Kleen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.