OSDN Git Service

kasan, arm64: clean up KASAN_SHADOW_SCALE_SHIFT usage
authorAndrey Konovalov <andreyknvl@google.com>
Thu, 1 Mar 2018 17:07:12 +0000 (18:07 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 6 Mar 2018 18:52:33 +0000 (18:52 +0000)
commit9597e74396c02c8189215dcdfc08088a9b8d8087
treefa798c3b35bd7132b8f52ecd6d157c110a839dae
parent1f85b42a691cd8329ba82dbcaeec80ac1231b32a
kasan, arm64: clean up KASAN_SHADOW_SCALE_SHIFT usage

This is a follow up patch to the series I sent recently that cleans up
KASAN_SHADOW_SCALE_SHIFT usage (which value was hardcoded and scattered
all over the code). This fixes the one place that I forgot to fix.

The change is purely aesthetical, instead of hardcoding the value for
KASAN_SHADOW_SCALE_SHIFT in arch/arm64/Makefile, an appropriate variable
is declared and used.

Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Makefile