diff options
author | Gennady Sharapov <Gennady.V.Sharapov@intel.com> | 2006-01-18 17:42:44 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-18 19:20:19 -0800 |
commit | 4abfbf4034b419736de5797a3860ab0bcf5c5c8d (patch) | |
tree | 4cc593f696c92dc2f3db63f9c89bc5862ea73801 /arch/um/include/skas/proc_mm.h | |
parent | 2c332a251302873cf8301c2aad27737b6df70255 (diff) | |
download | kernel_samsung_smdk4412-4abfbf4034b419736de5797a3860ab0bcf5c5c8d.tar.gz kernel_samsung_smdk4412-4abfbf4034b419736de5797a3860ab0bcf5c5c8d.tar.bz2 kernel_samsung_smdk4412-4abfbf4034b419736de5797a3860ab0bcf5c5c8d.zip |
[PATCH] uml: move headers to arch/um/include
The serial UML OS-abstraction layer patch (um/kernel dir).
This moves skas headers to arch/um/include.
Signed-off-by: Gennady Sharapov <Gennady.V.Sharapov@intel.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/include/skas/proc_mm.h')
-rw-r--r-- | arch/um/include/skas/proc_mm.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/um/include/skas/proc_mm.h b/arch/um/include/skas/proc_mm.h new file mode 100644 index 00000000000..90280920960 --- /dev/null +++ b/arch/um/include/skas/proc_mm.h @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) + * Licensed under the GPL + */ + +#ifndef __SKAS_PROC_MM_H +#define __SKAS_PROC_MM_H + +#define MM_MMAP 54 +#define MM_MUNMAP 55 +#define MM_MPROTECT 56 +#define MM_COPY_SEGMENTS 57 + +struct mm_mmap { + unsigned long addr; + unsigned long len; + unsigned long prot; + unsigned long flags; + unsigned long fd; + unsigned long offset; +}; + +struct mm_munmap { + unsigned long addr; + unsigned long len; +}; + +struct mm_mprotect { + unsigned long addr; + unsigned long len; + unsigned int prot; +}; + +struct proc_mm_op { + int op; + union { + struct mm_mmap mmap; + struct mm_munmap munmap; + struct mm_mprotect mprotect; + int copy_segments; + } u; +}; + +#endif |