Revision a650031a6bd16cb6789da9b3c27fc97341239f12 authored by Akinobu Mita on 13 September 2008, 10:03:32 UTC, committed by Pierre Ossman on 20 September 2008, 11:03:50 UTC
The mutex mmc_test_lock is initialized at every time mmc_test device is probed. Probing another mmc_test device may break the mutex, if the probe function is called while the mutex is locked. This patch fixes it by statically initializing mmc_test_lock. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
1 parent 9d4e98e
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 28.4 KB |
Makefile | -rw-r--r-- | 1.1 KB |
calibrate.c | -rw-r--r-- | 5.0 KB |
do_mounts.c | -rw-r--r-- | 8.8 KB |
do_mounts.h | -rw-r--r-- | 1.3 KB |
do_mounts_initrd.c | -rw-r--r-- | 3.2 KB |
do_mounts_md.c | -rw-r--r-- | 7.3 KB |
do_mounts_rd.c | -rw-r--r-- | 9.4 KB |
initramfs.c | -rw-r--r-- | 11.6 KB |
main.c | -rw-r--r-- | 21.0 KB |
noinitramfs.c | -rw-r--r-- | 1.4 KB |
version.c | -rw-r--r-- | 1.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...