So define one - the above is the portable way to do it.
> before 2.1.3 that was asm/io.h that defined writel(v,base) as such.
> Then the #ifdef __KERNEL__ was put around them.
The kernel one does do what you describe. It also do a physical to virtual
remapping.
-
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/