Presumably you are referring to the Alpha libc function of that name?
Things work differently in the kernel.
In kernel space you should ioremap the space you are interested in,
then use read/write[bwlq] to access the data.
See linux/Documentation/IO-mapping.txt.
r~
-
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/