Commit 6ace660a authored by Erik de Castro Lopo's avatar Erik de Castro Lopo

rts: Fix build when USE_LARGE_ADDRESS_SPACE is undefined

The recently added NUMA related functions were mistakenly defined
within a `#ifdef USE_LARGE_ADDRESS_SPACE` ... `#endif` block. Moving
them outside this block fixes the build on PowerPC and Arm Linux.

Test Plan: Build on PowerPC or Arm Linux

Reviewers: hvr, austin, bgamari, simonmar

Reviewed By: simonmar

Subscribers: thomie

Differential Revision:
parent 5990016a
......@@ -544,6 +544,8 @@ void osReleaseHeapMemory(void)
sysErrorBelch("unable to release address space");
rtsBool osNumaAvailable(void)
#ifdef HAVE_NUMA_H
......@@ -575,5 +577,3 @@ StgWord osNumaMask(void)
return 1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment