]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commite1612de9e4cdf375c3cf1c72434ab8abdcb3927e
treed2bf73a13ea6e92c9c79d4300294584ef82767c2
parent475d0094293b51353e342d1198377967dbc48169
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