ntdll: Build the virtual_release_address_space function on all platforms.
This commit is contained in:
parent
0572d81c2d
commit
4ce995451e
|
@ -1683,10 +1683,11 @@ static int free_reserved_memory( void *base, size_t size, void *arg )
|
|||
*/
|
||||
void virtual_release_address_space( BOOL free_high_mem )
|
||||
{
|
||||
#ifdef __i386__
|
||||
struct free_range range;
|
||||
sigset_t sigset;
|
||||
|
||||
if (user_space_limit == address_space_limit) return; /* no need to free anything */
|
||||
|
||||
server_enter_uninterrupted_section( &csVirtual, &sigset );
|
||||
|
||||
/* no large address space on win9x */
|
||||
|
@ -1707,7 +1708,6 @@ void virtual_release_address_space( BOOL free_high_mem )
|
|||
}
|
||||
|
||||
server_leave_uninterrupted_section( &csVirtual, &sigset );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue