Am Montag, den 19.11.2007, 06:42 +0100 schrieb Siegfried Müller:
> Hi,
> I want to use ioremap in user-program and not in a driver. I tried to
> compile my program, but i got the error "undefined reference to
> __ioremap". What must i do in the makefile to get this compiled? (i
> already inlcuded asm/io.h)
> Well, i know it is dirty to use direct io-access in a user program, but
> i need a fast access.
> Kind regards
> Siegfried
Hi,
ioremap isn't for user space. For most nommu architectures, ioremap is
just a dummy function that returns the address 1:1. 

Regards,
Erwin


_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to