#include "gc.h"
#if defined LISP_FEATURE_GENCGC
#include "gencgc-internal.h"
+#else
+#include "cheneygc-internal.h"
#endif
#ifdef LISP_FEATURE_X86
* kernel versions on some architectures (for example PPC). FIXME:
* possibly the same should be done on other architectures too.
*/
- os_vm_page_size = BACKEND_PAGE_SIZE;
+ os_vm_page_size = BACKEND_PAGE_BYTES;
/* KLUDGE: Disable memory randomization on new Linux kernels
* by setting a personality flag and re-executing. (We need
/* Some old kernels will apparently lose unsupported personality flags
* on exec() */
&& ((minor_version == 6 && patch_version >= 11)
- || (minor_version > 6)))
+ || (minor_version > 6)
+ /* This is what RHEL 3 reports */
+ || (minor_version == 4 && patch_version > 20)))
|| major_version >= 3)
{
int pers = personality(0xffffffffUL);