summaryrefslogtreecommitdiffstats
path: root/arch/mips/cavium-octeon
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-05-11 11:20:14 +0200
committerRalf Baechle <ralf@linux-mips.org>2010-05-21 21:31:22 +0100
commit142a2ceea793b4d134757c226daeb4101d649df0 (patch)
treed24618a2dba5dd751fedb0e218e50045494d34ba /arch/mips/cavium-octeon
parent9c1b013a3951671e219c32ca056fc07381a9e113 (diff)
downloadop-kernel-dev-142a2ceea793b4d134757c226daeb4101d649df0.zip
op-kernel-dev-142a2ceea793b4d134757c226daeb4101d649df0.tar.gz
MIPS: AR7: prevent race between clock initialization and devices registration
ar7_regiser_devices needs ar7_clocks_init to have been called first, however clock.o is currently linked later due to its order in the Makefile, therefore ar7_clocks_init always gets called later than ar7_register_devices because both have the same initcall level. Fix this by moving ar7_register_devices to the right initcall level. Reported-by: Michael J. Evans <mjevans1983@gmail.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> To: linux-mips@linux-mips.org Cc: Ralf Baechle <ralf@linux-mips.org> Patchwork: http://patchwork.linux-mips.org/patch/1212/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cavium-octeon')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud