aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/interrupts.c
diff options
context:
space:
mode:
authorDave Jones <[email protected]>2014-01-23 23:55:43 +0000
committerLinus Torvalds <[email protected]>2014-01-24 00:37:01 +0000
commitc1d867a54d426b45da017fbe8e585f8a3064ce8d (patch)
tree725610a41785b7f1fb19606f2e5961ce0b857827 /fs/proc/interrupts.c
parentproc: set attributes of pde using accessor functions (diff)
downloadkernel-c1d867a54d426b45da017fbe8e585f8a3064ce8d.tar.gz
kernel-c1d867a54d426b45da017fbe8e585f8a3064ce8d.zip
fs/proc/proc_devtree.c: remove empty /proc/device-tree when no openfirmware exists.
Distribution kernels might want to build in support for /proc/device-tree for kernels that might end up running on hardware that doesn't support openfirmware. This results in an empty /proc/device-tree existing. Remove it if the OFW root node doesn't exist. This situation actually confuses grub2, resulting in install failures. grub2 sees the /proc/device-tree and picks the wrong install target cf. http://bzr.savannah.gnu.org/lh/grub/trunk/grub/annotate/4300/util/grub-install.in#L311 grub should be more robust, but still, leaving an empty proc dir seems pointless. Addresses https://bugzilla.redhat.com/show_bug.cgi?id=818378. Signed-off-by: Dave Jones <[email protected]> Cc: Al Viro <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Josh Boyer <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/interrupts.c')
0 files changed, 0 insertions, 0 deletions