Same difference.
The kernel is a global lock on shared (hardware) resources and stuff like pipe buffers. It is also a library of hardware drivers. Calling the kernel just happens to be termed calling the system "syscall".
From this perspective the BEAM VM or the language run-time are also "kernel".