Correct prototype: void __clear_cache(void *, void *).

This commit is contained in:
Edmund Grimley Evans
2015-10-15 19:02:54 +01:00
parent a16f862cf6
commit eafd7a7d3b
3 changed files with 4 additions and 4 deletions

View File

@ -226,7 +226,7 @@ static void set_pages_executable(void *ptr, unsigned long length)
unsigned long old_protect;
VirtualProtect(ptr, length, PAGE_EXECUTE_READWRITE, &old_protect);
#else
extern void __clear_cache(char *beginning, char *end);
extern void __clear_cache(void *beginning, void *end);
#ifndef PAGESIZE
# define PAGESIZE 4096
#endif