asm-generic: fix inX/outX functions for architectures that have PCI
authorGuanXuetao <gxt@mprc.pku.edu.cn>
Tue, 22 Feb 2011 11:06:43 +0000 (19:06 +0800)
committerGuanXuetao <gxt@mprc.pku.edu.cn>
Thu, 17 Mar 2011 01:19:03 +0000 (09:19 +0800)
commit7dc59bdde7063323b6a70c2f0fadb399ede8038d
treee288e1bbcb1ed68ad36514e82f8090acea4d17e0
parent521cb40b0c44418a4fd36dc633f575813d59a43d
asm-generic: fix inX/outX functions for architectures that have PCI

The definitions for the PC-style PIO functions in asm-generic/io.h were
meant as dummies so you could compile code on architectures without
ISA and PCI buses. However, unicore32 actually wants to use them
with a real PCI bus, so they need to be defined to actually address
the register window holding the I/O ports.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/io.h