X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=include%2Flinux%2Fmm_types.h;h=84a524afb3dcdffdd60c7ef1eaf2672acd7731ca;hb=9a1607071c293e48b08bd703733480b1d55c7b93;hp=7acc8439d9b305caad3d8354ee7ad43e0a3de465;hpb=517d08699b250021303f9a7cf0d758b6dc0748ed;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 7acc843..84a524a 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -171,7 +171,7 @@ struct vm_area_struct { struct anon_vma *anon_vma; /* Serialized by page_table_lock */ /* Function pointers to deal with this struct. */ - struct vm_operations_struct * vm_ops; + const struct vm_operations_struct *vm_ops; /* Information about our backing store: */ unsigned long vm_pgoff; /* Offset (within vm_file) in PAGE_SIZE @@ -240,7 +240,7 @@ struct mm_struct { unsigned long saved_auxv[AT_VECTOR_SIZE]; /* for /proc/PID/auxv */ - s8 oom_adj; /* OOM kill score adjustment (bit shift) */ + struct linux_binfmt *binfmt; cpumask_t cpu_vm_mask; @@ -261,11 +261,10 @@ struct mm_struct { unsigned long flags; /* Must use atomic bitops to access the bits */ struct core_state *core_state; /* coredumping support */ - - /* aio bits */ +#ifdef CONFIG_AIO spinlock_t ioctx_lock; struct hlist_head ioctx_list; - +#endif #ifdef CONFIG_MM_OWNER /* * "owner" points to a task that is regarded as the canonical