Linux-kernel mailing list archive 1999-36,: Minor fix for asm-alpha/pgtable.h

# Minor fix for asm-alpha/pgtable.h

Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Wed, 8 Sep 1999 00:45:49 +0400

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Richard B. Johnson: "Re: RH6.0 C compiler doesn't recognize "\""
- Previous message: Alan Cox: "Re: 2.2.12 memory leak"

Hi!

Code depending on io_remap_page_range() won't compile (fbmem.c)
since ioremap() takes 2 arguments.

Ivan.

--- linux-2.3.17-1/include/asm-alpha/pgtable.h Tue Sep 7 18:59:48 1999
+++ linux/include/asm-alpha/pgtable.h Tue Sep 7 19:12:15 1999
@@ -622,6 +622,6 @@
#define kern_addr_valid(addr) (1)
#define io_remap_page_range(start, busaddr, size, prot) \
- remap_page_range(start, virt_to_phys(ioremap(busaddr)), size, prot)
+ remap_page_range(start, virt_to_phys(ioremap(busaddr, 0)), size, prot)
#endif /* _ALPHA_PGTABLE_H */

-
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/

- Next message: Richard B. Johnson: "Re: RH6.0 C compiler doesn't recognize "\""
- Previous message: Alan Cox: "Re: 2.2.12 memory leak"