summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/host/nvhost_intr.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2013-10-12 16:44:17 +0300
committerJuha Tukkinen <jtukkinen@nvidia.com>2013-10-17 03:59:50 -0700
commita2e8743e82eac46db80b18eacac4befb002ae166 (patch)
treec710a8c5fd5f7eb6d82b557243d8a5c0d6be0aa6 /drivers/video/tegra/host/nvhost_intr.h
parentd85d9d06ad6903b702fb533b5a47180dddf2bcfc (diff)
video: tegra: host: Don't depend on 32-bit ulong
Avoid BITS_PER_LONG and macros BIT_WORD and BIT_MASK that depend on it. Also avoid ulong when a 32-bit value is expected. Bug 1377229 Change-Id: I2b146917bf6aff618c01124d16fbdadd804581a1 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/298698 Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com> Tested-by: Juha Tukkinen <jtukkinen@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/host/nvhost_intr.h')
-rw-r--r--drivers/video/tegra/host/nvhost_intr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/tegra/host/nvhost_intr.h b/drivers/video/tegra/host/nvhost_intr.h
index 1f2b08e20d0c..cec4f8119c90 100644
--- a/drivers/video/tegra/host/nvhost_intr.h
+++ b/drivers/video/tegra/host/nvhost_intr.h
@@ -86,8 +86,8 @@ struct nvhost_intr {
int general_irq;
int syncpt_irq;
struct workqueue_struct *wq;
- void (*generic_isr[BITS_PER_LONG])(void);
- void (*generic_isr_thread[BITS_PER_LONG])(void);
+ void (*generic_isr[32])(void);
+ void (*generic_isr_thread[32])(void);
u32 intstatus;
};
#define intr_to_dev(x) container_of(x, struct nvhost_master, intr)