]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] iSeries: fix mf proc initialisation
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Jan 2007 06:01:51 +0000 (17:01 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 9 Jan 2007 06:03:03 +0000 (17:03 +1100)
commit367405dba951421283ac319a8da7c00627a61596
tree373df43d5fb29b41b3ce23b37786f9ee1a9bc214
parent4f087cab33afe329df3a9c95586e19ac1e5a6449
[POWERPC] iSeries: fix mf proc initialisation

This proc file should only be created if we are running on legacy
iSeries.  Since we can now run the same kernel on legacy iSeries and
other machines, we currently get the /proc/iSeries directory and the
files in it on non-iSeries machines, and accessing them causes an oops
in some cases.  This and the following patches make sure that these
files are not created on non-iSeries machines, thus avoiding the oops.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/iseries/mf.c