From 2303479047342b0591ce768fbf84d31ee98aa431 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Mon, 21 Jan 2019 20:53:14 +0000 Subject: [PATCH] Fix argument to PUSH_D_CACHE_REGION. Takes startptr/count, not startptr/endptr. This was not an issue before because until aarch64, the only extant port that even used this, i386, ignored the argument as a macro and flushed the entire cache. --- src/microcode/cmpint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microcode/cmpint.c b/src/microcode/cmpint.c index b8181497e..fad1583d5 100644 --- a/src/microcode/cmpint.c +++ b/src/microcode/cmpint.c @@ -1972,7 +1972,7 @@ void declare_compiled_code_block (SCHEME_OBJECT block) { #ifdef PUSH_D_CACHE_REGION - PUSH_D_CACHE_REGION ((OBJECT_ADDRESS (block)), (CC_BLOCK_END (block))); + PUSH_D_CACHE_REGION ((OBJECT_ADDRESS (block)), (CC_BLOCK_LENGTH (block))); #endif } -- 2.25.1