summaryrefslogtreecommitdiffstats
path: root/fs/drop_caches.c
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2020-04-21 18:15:39 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2020-06-02 22:21:31 +1000
commit4336b9337824a60a0b10013c622caeee99460db5 (patch)
tree213eacae192ea7c899ee8db74f7c5d42d437ecf8 /fs/drop_caches.c
parentf44b85da5e7450d0308695ba6f503d75fe6cc166 (diff)
downloadlinux-4336b9337824a60a0b10013c622caeee99460db5.tar.bz2
powerpc/pseries: Make vio and ibmebus initcalls pseries specific
The vio and ibmebus buses are used for pseries specific paravirtualised devices and currently they're initialised by the generic initcall types. This is mostly fine, but it can result in some nuisance errors in dmesg when booting on PowerNV on some OSes, e.g. [ 2.984439] synth uevent: /devices/vio: failed to send uevent [ 2.984442] vio vio: uevent: failed to send synthetic uevent [ 17.968551] synth uevent: /devices/vio: failed to send uevent [ 17.968554] vio vio: uevent: failed to send synthetic uevent We don't see anything similar for the ibmebus because that depends on !CONFIG_LITTLE_ENDIAN. This patch squashes those by switching to using machine_*_initcall() so the bus type is only registered when the kernel is running on a pseries machine. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Reviewed-by: Tyrel Datwyler <tyreld@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200421081539.7485-1-oohall@gmail.com
Diffstat (limited to 'fs/drop_caches.c')
0 files changed, 0 insertions, 0 deletions