diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2017-08-15 23:00:11 -0400 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2017-08-15 23:00:11 -0400 |
commit | 8625ff9c0ba7db32ce4eb25f6032638c1f88c82f (patch) | |
tree | e115312f991c94e587ec69948f467814370b7273 /drivers/mailbox | |
parent | 735df2ba1d584e98a894680e29a813f9fde64a84 (diff) |
drm/amdkfd: Allocate gtt_sa_bitmap in long units
gtt_sa_bitmap is accessed by bitmap functions, which operate on longs.
Therefore the array should be allocated in long units. Also round up
in case the number of bits is not a multiple of BITS_PER_LONG.
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions