diff options
author | Fernando Guzman Lugo <x0095840@ti.com> | 2010-11-29 15:24:11 -0500 |
---|---|---|
committer | Hari Kanigeri <h-kanigeri2@ti.com> | 2010-12-02 06:43:15 -0500 |
commit | d2295042b783c2b17d93cd5ab786bbfd4f2f5c90 (patch) | |
tree | 9213446903c5a541a8b82bee48af273c3f30a88f /arch/arm/plat-omap/include/plat/mailbox.h | |
parent | e8a7e48bb248a1196484d3f8afa53bded2b24e71 (diff) |
OMAP: mailbox: change full flag per mailbox queue instead of global
The variable rq_full flag is a global variable, so if there are multiple
mailbox users there will be conflicts. Now there is a full flag per
mailbox queue.
Reported-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
Acked-by: Hiroshi Doyu <hiroshi.doyu@nokia.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/mailbox.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/mailbox.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/mailbox.h b/arch/arm/plat-omap/include/plat/mailbox.h index 997656552109..13f2ef3ea0ff 100644 --- a/arch/arm/plat-omap/include/plat/mailbox.h +++ b/arch/arm/plat-omap/include/plat/mailbox.h | |||
@@ -48,6 +48,7 @@ struct omap_mbox_queue { | |||
48 | struct tasklet_struct tasklet; | 48 | struct tasklet_struct tasklet; |
49 | int (*callback)(void *); | 49 | int (*callback)(void *); |
50 | struct omap_mbox *mbox; | 50 | struct omap_mbox *mbox; |
51 | bool full; | ||
51 | }; | 52 | }; |
52 | 53 | ||
53 | struct omap_mbox { | 54 | struct omap_mbox { |