io.h for powerpc

From: Sergey Naumov
Date: Tue Sep 14 2010 - 05:05:59 EST


Hello,

I want to compile program with inb and outb functions for powerpc
architecture, but I have build error: cannot include <sys/io.h>. I
have found out that there is no sys/io.h for powerpc and started to
search a replacement, e.g. <asm-generic/io.h>, but although there is
asm-generic/io.h in the linux kernel sources, I cant find it in
/usr/include directory of my toolchain. Is it a bug, or there isn't
any io.h for powerpc?

Thanks in advance,

Sergey Naumov.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/