]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/mmc/host.h
mmc: allow host claim / release nesting
[net-next-2.6.git] / include / linux / mmc / host.h
index 338a9b3d51e44e0939df07146487d3b663a2854d..631a2fea5264ec30c1b0e623df83a8ce5d799586 100644 (file)
@@ -182,6 +182,8 @@ struct mmc_host {
        struct mmc_card         *card;          /* device attached to this host */
 
        wait_queue_head_t       wq;
+       struct task_struct      *claimer;       /* task that has host claimed */
+       int                     claim_cnt;      /* "claim" nesting count */
 
        struct delayed_work     detect;