Messages in this thread Patch in this message | | | From | David Howells <> | Subject | [PATCH] NOMMU: Hide vm_mm in NOMMU mode | Date | Sat, 03 Mar 2007 14:25:58 +0000 |
| |
From: David Howells <dhowells@redhat.com>
Hide struct vm_area_struct::vm_mm when in NOMMU mode as this isn't used there.
Signed-Off-By: David Howells <dhowells@redhat.com> ---
include/linux/mm.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/mm.h b/include/linux/mm.h index 60e0e4a..ba394e7 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -58,7 +58,9 @@ extern int sysctl_legacy_va_layout; * library, the executable area etc). */ struct vm_area_struct { +#ifdef CONFIG_MMU struct mm_struct * vm_mm; /* The address space we belong to. */ +#endif unsigned long vm_start; /* Our start address within vm_mm. */ unsigned long vm_end; /* The first byte after our end address within vm_mm. */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |