]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/eeh: Fix /proc/ppc64/eeh creation
authorThadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Fri, 26 Aug 2011 10:36:31 +0000 (10:36 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:44:42 +0000 (09:44 -0800)
commit85e71ae3431f786adea84c0f879dc02d7474c566
tree25a3f7b669c9ade0ae2dc5e7f80846708a9958a7
parent488d4d2d0a7078b89ac898606cfce65ea93aadd2
powerpc/eeh: Fix /proc/ppc64/eeh creation

commit 8feaa43494cee5e938fd5a57b9e9bf1c827e6ccd upstream.

Since commit 188917e183cf9ad0374b571006d0fc6d48a7f447, /proc/ppc64 is a
symlink to /proc/powerpc/. That means that creating /proc/ppc64/eeh will
end up with a unaccessible file, that is not listed under /proc/powerpc/
and, then, not listed under /proc/ppc64/.

Creating /proc/powerpc/eeh fixes that problem and maintain the
compatibility intended with the ppc64 symlink.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/platforms/pseries/eeh.c