mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Merge branch '1.10' of github.com:JetBrains-Research/Lama into 1.10
This commit is contained in:
commit
1bafe839dc
2 changed files with 64 additions and 56 deletions
|
|
@ -1885,7 +1885,7 @@ extern void __init (void) {
|
|||
from_space.begin = mmap (NULL, space_size, PROT_READ | PROT_WRITE,
|
||||
MAP_PRIVATE | MAP_ANONYMOUS | MAP_32BIT, -1, 0);
|
||||
to_space.begin = NULL;
|
||||
if (to_space.begin == MAP_FAILED) {
|
||||
if (from_space.begin == MAP_FAILED) {
|
||||
perror ("EROOR: init_pool: mmap failed\n");
|
||||
exit (1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue