-
- Downloads
"README.md" did not exist on "c2f4f527edab37f2f2130bd7813cd41db907ab6b"
[PATCH] uml: split ldt.h in arch-independent and arch-dependant code
ldt-{i386,x86_64}.h is made of two different parts - some code for parsing of LDT descriptors, which is arch-dependant, and the code to handle uml_ldt_t (an LDT block inside UML), which is mostly arch-independant (among x86 and x86_64, at least). Join the common part in a single file (ldt.h) and split the rest away (host_ldt-{i386,x86_64}.h). This is needed because processor.h, with next patches, will start including the LDT descriptor parsing macros in host_ldt.h, but it can't include ldt.h because it uses semaphores (and to define semaphores one must first include processor.h!). Signed-off-by:Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Acked-by:
Jeff Dike <jdike@addtoit.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- arch/um/Makefile 1 addition, 1 deletionarch/um/Makefile
- include/asm-um/host_ldt-i386.h 34 additions, 0 deletionsinclude/asm-um/host_ldt-i386.h
- include/asm-um/host_ldt-x86_64.h 2 additions, 37 deletionsinclude/asm-um/host_ldt-x86_64.h
- include/asm-um/ldt.h 41 additions, 0 deletionsinclude/asm-um/ldt.h
Loading
Please register or sign in to comment