]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: bcm-pdc: Try to improve branch prediction
authorRob Rice <rob.rice@broadcom.com>
Mon, 14 Nov 2016 18:26:00 +0000 (13:26 -0500)
committerJassi Brar <jaswinder.singh@linaro.org>
Mon, 19 Dec 2016 14:40:20 +0000 (20:10 +0530)
commit9307738465d9204e698aa4868553050e483550db
tree7863def79ef02d42854ed481cedf64ac3f378ae9
parent0099d5ef87fc6bf4f18264b0bce5cafd77ac550a
mailbox: bcm-pdc: Try to improve branch prediction

Use likely/unlikely directives to improve branch prediction.

Signed-off-by: Rob Rice <rob.rice@broadcom.com>
Reviewed-by: Andy Gospodarek <gospo@broadcom.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/bcm-pdc-mailbox.c