]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Disable /dev/port interface on systems without an ISA bridge
authorHaren Myneni <haren@us.ibm.com>
Wed, 11 Jul 2012 05:18:44 +0000 (15:18 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Jul 2012 08:22:32 +0000 (18:22 +1000)
commit9eceebd4b09aae00c6e2533ec5ad5efde9eb6b2d
treed2bf73a13ea6e92c9c79d4300294584ef82767c2
parent15527e650368cda5d162d76611a9523495e687c8
powerpc: Disable /dev/port interface on systems without an ISA bridge

Some power systems do not have legacy ISA devices. So, /dev/port is not
a valid interface on these systems. User level tools such as kbdrate is
trying to access the device using this interface which is causing the
system crash.

This patch will fix this issue by not creating this interface on these
powerpc systems.

Signed-off-by: Haren Myneni <haren@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/io.h
drivers/char/mem.c
include/linux/io.h