--- src/hotspot/os_cpu/linux_aarch64/icache_linux_aarch64.hpp	2022-04-19 15:38:30.000000000 -0400
+++ src/hotspot/os_cpu/linux_aarch64/icache_linux_aarch64.hpp	2022-04-19 15:39:12.000000000 -0400
@@ -30,6 +30,10 @@
 // modifies code, part of the processor instruction cache potentially
 // has to be flushed.

+extern "C" {
+  void __clear_cache(char *beg, char *end);
+}
+
 class ICache : public AbstractICache {
  public:
   static void initialize();
