patch-2.4.21 linux-2.4.21/arch/ia64/mm/fault.c
Next file: linux-2.4.21/arch/ia64/mm/init.c
Previous file: linux-2.4.21/arch/ia64/mm/Makefile
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
2003-06-13 07:51:29.000000000 -0700
- Orig file:
linux-2.4.20/arch/ia64/mm/fault.c
- Orig date:
2002-11-28 15:53:09.000000000 -0800
diff -urN linux-2.4.20/arch/ia64/mm/fault.c linux-2.4.21/arch/ia64/mm/fault.c
@@ -58,7 +58,6 @@
if (in_interrupt() || !mm)
goto no_context;
-#ifdef CONFIG_VIRTUAL_MEM_MAP
/*
* If fault is in region 5 and we are in the kernel, we may already
* have the mmap_sem (VALID_PAGE macro is called during mmap). There
@@ -67,7 +66,6 @@
*/
if ((REGION_NUMBER(address) == 5) && !user_mode(regs))
goto bad_area_no_up;
-#endif
down_read(&mm->mmap_sem);
@@ -148,9 +146,7 @@
bad_area:
up_read(&mm->mmap_sem);
-#ifdef CONFIG_VIRTUAL_MEM_MAP
bad_area_no_up:
-#endif
if ((isr & IA64_ISR_SP)
|| ((isr & IA64_ISR_NA) && (isr & IA64_ISR_CODE_MASK) == IA64_ISR_CODE_LFETCH))
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)