projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84bcd46
)
drm/radeon: Use DECLARE_BITMAP
author
Joe Perches
<joe@perches.com>
Wed, 20 May 2015 01:37:52 +0000
(18:37 -0700)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 26 May 2015 14:31:25 +0000
(10:31 -0400)
Use the generic mechanism to declare a bitmap instead of unsigned long.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon.h
b/drivers/gpu/drm/radeon/radeon.h
index ccebf6279c05bd9ee227b9f18e601933f59bd7a3..b0b73f2edfc9bff734d915b903a01eab165ffba9 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon.h
+++ b/
drivers/gpu/drm/radeon/radeon.h
@@
-719,7
+719,7
@@
struct radeon_doorbell {
resource_size_t size;
u32 __iomem *ptr;
u32 num_doorbells; /* Number of doorbells actually reserved for radeon. */
-
unsigned long used[DIV_ROUND_UP(RADEON_MAX_DOORBELLS, BITS_PER_LONG)]
;
+
DECLARE_BITMAP(used, RADEON_MAX_DOORBELLS)
;
};
int radeon_doorbell_get(struct radeon_device *rdev, u32 *page);