]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64/sve: Fix a couple of magic numbers for the Z-reg count
authorDave Martin <Dave.Martin@arm.com>
Wed, 12 Jun 2019 16:00:34 +0000 (17:00 +0100)
committerWill Deacon <will@kernel.org>
Mon, 22 Jul 2019 10:49:03 +0000 (11:49 +0100)
commited2f3e9ff637c7c9f65b98468a084393683ff93b
tree851f867432dbf41e69df094edb63961cc3b4ca34
parentd16af870a70e0e399126c6419f92e7badf5e465b
arm64/sve: Fix a couple of magic numbers for the Z-reg count

There are some hand-written instances of "32" to express the number
of SVE Z-registers.

Since this code was written a #define was added for this, so
convert trivial instances of this magic number as appropriate.

No functional change.

Reviewed-by: Julien Grall <julien.grall@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/fpsimd.c