]> err.no Git - linux-2.6/blobdiff - drivers/video/pmag-aa-fb.c
[PATCH] fix send_sigqueue() vs thread exit race
[linux-2.6] / drivers / video / pmag-aa-fb.c
index 3e00ad7f2e3179496086053639fc8ace2716fdf5..28d1fe5fe34007fcdf9996cb0216154732e74f1e 100644 (file)
@@ -413,7 +413,7 @@ static struct fb_ops aafb_ops = {
 
 static int __init init_one(int slot)
 {
-       unsigned long base_addr = get_tc_base_addr(slot);
+       unsigned long base_addr = CKSEG1ADDR(get_tc_base_addr(slot));
        struct aafb_info *ip = &my_fb_info[slot];
 
        memset(ip, 0, sizeof(struct aafb_info));