View | Details | Raw Unified | Return to bug 85834
Collapse All | Expand All

(-)linux-2.6.5/arch//x86_64/mm/fault.c (-1 / +1 lines)
Lines 358-364 bad_area_nosemaphore: Link Here
358
358
359
#ifdef CONFIG_IA32_EMULATION
359
#ifdef CONFIG_IA32_EMULATION
360
		/* 32bit vsyscall. map on demand. */
360
		/* 32bit vsyscall. map on demand. */
361
		if (test_thread_flag(TIF_IA32) && 
361
		if (test_thread_flag(TIF_IA32) && ((error_code & 0x6) == 0x4) &&
362
	    address >= 0xffffe000 && address < 0xffffe000 + PAGE_SIZE) { 
362
	    address >= 0xffffe000 && address < 0xffffe000 + PAGE_SIZE) { 
363
			if (map_syscall32(mm, address) < 0) 
363
			if (map_syscall32(mm, address) < 0) 
364
				goto out_of_memory2;
364
				goto out_of_memory2;

Return to bug 85834