ntdll: Build the virtual_release_address_space function on all platforms.

This commit is contained in:
Alexandre Julliard 2010-04-09 16:25:25 +02:00
parent 0572d81c2d
commit 4ce995451e
1 changed files with 2 additions and 2 deletions

View File

@ -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
}