aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/mailbox.h
diff options
context:
space:
mode:
authorFernando Guzman Lugo <x0095840@ti.com>2010-11-29 20:24:11 +0000
committerHari Kanigeri <h-kanigeri2@ti.com>2010-12-02 05:43:15 -0600
commitd2295042b783c2b17d93cd5ab786bbfd4f2f5c90 (patch)
tree9213446903c5a541a8b82bee48af273c3f30a88f /arch/arm/plat-omap/include/plat/mailbox.h
parentLinux 2.6.37-rc4 (diff)
downloadlinux-dev-d2295042b783c2b17d93cd5ab786bbfd4f2f5c90.tar.xz
linux-dev-d2295042b783c2b17d93cd5ab786bbfd4f2f5c90.zip
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.h1
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 {
struct tasklet_struct tasklet;
int (*callback)(void *);
struct omap_mbox *mbox;
+ bool full;
};
struct omap_mbox {