diff options
| author | 2020-04-02 20:54:28 +0300 | |
|---|---|---|
| committer | 2020-04-12 16:17:00 -0700 | |
| commit | 43900edf67d7ef3ac8909854d75b8a1fba2d570c (patch) | |
| tree | d77d6a745b6dd81f04406ca396ef435871febdc9 /scripts/gcc-plugins/gcc-common.h | |
| parent | Linux 5.7-rc1 (diff) | |
| download | linux-dev-43900edf67d7ef3ac8909854d75b8a1fba2d570c.tar.xz linux-dev-43900edf67d7ef3ac8909854d75b8a1fba2d570c.zip | |
ARC: Fix ICCM & DCCM runtime size checks
As of today the ICCM and DCCM size checks are incorrectly using
mismatched units (KiB checked against bytes). The CONFIG_ARC_DCCM_SZ
and CONFIG_ARC_ICCM_SZ are in KiB, but the size calculated in
runtime and stored in cpu->dccm.sz and cpu->iccm.sz is in bytes.
Fix that.
Reported-by: Paul Greco <pmgreco@us.ibm.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
