ioremap return type

From: Abramo Bagnara (abramo@alsa-project.org)
Date: Wed Aug 09 2000 - 03:07:48 EST


Am I wrong if I affirm that changing the prototypes into:

unsigned long ioremap(unsigned long base, long length);
void iounmap(unsigned long);

we would solve (well, not solve, simply we'd show it ;-) a lot of
porting issue?

The value returned from ioremap *is not* something usable with
dereference operator.

-- 
Abramo Bagnara                       mailto:abramo@alsa-project.org

Opera Unica Via Emilia Interna, 140 Phone: +39.0546.656023 48014 Castel Bolognese (RA) - Italy Fax: +39.0546.656023

ALSA project is http://www.alsa-project.org sponsored by SuSE Linux http://www.suse.com

It sounds good!

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



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:17 EST