]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitecef7f389edac9ff29894e10b93b2ccb7f0108f7
treee288e1bbcb1ed68ad36514e82f8090acea4d17e0
parent5f606d388b7d90e888f8599ea3bd433cadefba0e
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