if a system with mprotect doesn't have getpagesize, the assumption is that

mprotect doesn't care about page alignment (eg, QNX)
This commit is contained in:
Bill Currie 2003-07-21 20:55:13 +00:00
parent ff6e0ab1b3
commit abedda69b6

View file

@ -351,8 +351,6 @@ Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length)
startaddr &= ~(psize - 1);
endaddr = (endaddr + psize - 1) & ~(psize - 1);
# else
# error Unknown page size
# endif
# endif