OMAP: mailbox: change full flag per mailbox queue instead of global
authorFernando Guzman Lugo <x0095840@ti.com>
Mon, 29 Nov 2010 20:24:11 +0000 (20:24 +0000)
committerHari Kanigeri <h-kanigeri2@ti.com>
Thu, 2 Dec 2010 11:43:15 +0000 (05:43 -0600)
commitd2295042b783c2b17d93cd5ab786bbfd4f2f5c90
tree9213446903c5a541a8b82bee48af273c3f30a88f
parente8a7e48bb248a1196484d3f8afa53bded2b24e71
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>
arch/arm/plat-omap/include/plat/mailbox.h
arch/arm/plat-omap/mailbox.c