-
Christoph Hellwig authored
mmuless ports don't need dup_mmap nor allocation of a pgd. I tried to avoid ifdef-mess as far as possible, and to archive that I created small wrappers for pgd allocation/freeing and move taking of the mmap semaphore into dup_mmap from the only caller. The end result is just one additiona ifdef.
96945de5