summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/switch_to.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-06-09 07:35:34 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2015-06-10 08:43:07 (GMT)
commitd9fb5660459819513d510e72caa3120a7cf41ee1 (patch)
treebcfb962ae970e2c18c12a9b9f7f342f48e663126 /arch/mips/include/asm/switch_to.h
parent34b1252bd91851f77f89fbb6829a04efad900f41 (diff)
downloadlinux-d9fb5660459819513d510e72caa3120a7cf41ee1.tar.xz
MIPS: Loongson: Do not register 8250 platform device from module.
If CONFIG_SERIAL_8250 is set to m, the Loongson seria.ko module might get unloaded while the serial driver modules are still loaded resulting in stale references to the destroyed platform_device instance. Anyway, platform devices should always be registered indicated what devices are present, _not_ what drivers have been configured. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com> Patchwork: https://patchwork.linux-mips.org/patch/10538/
Diffstat (limited to 'arch/mips/include/asm/switch_to.h')
0 files changed, 0 insertions, 0 deletions