]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mmc: fix "prev->state: 2 != TASK_RUNNING??" problem on SD/MMC card removal
authorVitaly Wool <vitalywool@gmail.com>
Thu, 7 Dec 2006 19:08:02 +0000 (20:08 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Mon, 11 Dec 2006 08:48:16 +0000 (09:48 +0100)
commit7b30d281b9c115890c75d11eaf06881261c256da
tree79fa9f88fd469fb61b796a1b4d027ef2c11425e0
parentf3a8efa90b1aab16ead76ad7e22d9c5fc2045400
mmc: fix "prev->state: 2 != TASK_RUNNING??" problem on SD/MMC  card removal

Currently on SD/MMC card removal the system exhibits the following message (the platform is ARM Versatile):

    prev->state: 2 != TASK_RUNNING??
    mmcqd/762[CPU#0]: BUG in __schedule at linux-2.6/kernel/sched.c:3826

(akpm: someone tried to fix this, but it's still wrong)

Signed-off-by: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/mmc_queue.c