aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <[email protected]>2022-01-13 17:18:48 +0000
committerJason A. Donenfeld <[email protected]>2022-01-18 12:03:56 +0000
commit18263c4e8e62f7329f38f5eadc568751242ca89c (patch)
tree9497810a353e8562075a225de531963eaddb5f3e /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentrandom: prepend remaining pool constants with POOL_ (diff)
downloadkernel-18263c4e8e62f7329f38f5eadc568751242ca89c.tar.gz
kernel-18263c4e8e62f7329f38f5eadc568751242ca89c.zip
random: cleanup fractional entropy shift constants
The entropy estimator is calculated in terms of 1/8 bits, which means there are various constants where things are shifted by 3. Move these into our pool info enum with the other relevant constants. While we're at it, move an English assertion about sizes into a proper BUILD_BUG_ON so that the compiler can ensure this invariant. Reviewed-by: Dominik Brodowski <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions