Re: [patch] 2.3.30pre3 alpha updates

Dominik Kubla (dominik.kubla@uni-mainz.de)
Wed, 1 Dec 1999 19:41:45 +0100


On Wed, Dec 01, 1999 at 12:44:36PM +0100, I wrote:
>
> On my Multia it will not even link because of missing symbols __ioremap
> and virt_to_phys in drivers/video/fbmem.c. I had to make the little
> change below do get it to know about these. But apparently this is not
> enough, because it would then bomb out during compilation with:
>
> fbmem.c: In function `fb_mmap':
> fbmem.c:559: warning: passing arg 1 of `virt_to_phys' makes pointer from integer without a cast
> fbmem.c:559: too many arguments to function `virt_to_phys'
>

Ok. Fixing this one was not too difficult (see below). Unfortunately the
resulting kernel will not boot... At least i get not console initialization.
I will try with a serial console next to see if that gives more information...

Yours,
Dominik Kubla
=============================================================================
--- linux/include/asm-alpha/pgtable.h.~1~ Tue Nov 30 23:44:13 1999
+++ linux/include/asm-alpha/pgtable.h Wed Dec 1 13:06:46 1999
@@ -297,7 +297,7 @@
#define kern_addr_valid(addr) (1)

#define io_remap_page_range(start, busaddr, size, prot) \
- remap_page_range(start, virt_to_phys(__ioremap(busaddr), 0), size, prot)+ remap_page_range(start, virt_to_phys(__ioremap(busaddr)), size, prot)

#define pte_ERROR(e) \
printk("%s:%d: bad pte %016lx.\n", __FILE__, __LINE__, pte_val(e))

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/