ioremap return type

Abramo Bagnara (abramo@alsa-project.org)
Wed, 09 Aug 2000 10:07:48 +0200


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/