mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
[PATCH] uml: eliminate anonymous union and clean up symlink lossage
This gives a name to the anonymous union introduced in skas-hold-own-ldt, allowing to build on a wider range of gccs. It also removes ldt.h, which somehow became real, and replaces it with a symlink, and creates ldt-x86_64.h as a copy of ldt-i386.h for now. Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
39d730ab87
commit
e23181deec
4 changed files with 22 additions and 24 deletions
|
|
@ -35,7 +35,7 @@ typedef struct uml_ldt {
|
|||
union {
|
||||
struct ldt_entry * pages[LDT_PAGES_MAX];
|
||||
struct ldt_entry entries[LDT_DIRECT_ENTRIES];
|
||||
};
|
||||
} u;
|
||||
} uml_ldt_t;
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ typedef struct uml_ldt {
|
|||
union {
|
||||
struct ldt_entry * pages[LDT_PAGES_MAX];
|
||||
struct ldt_entry entries[LDT_DIRECT_ENTRIES];
|
||||
};
|
||||
} u;
|
||||
} uml_ldt_t;
|
||||
|
||||
/*
|
||||
|
|
@ -67,8 +67,3 @@ typedef struct uml_ldt {
|
|||
(info)->useable == 0 )
|
||||
|
||||
#endif
|
||||
#ifndef __UM_LDT_H
|
||||
#define __UM_LDT_H
|
||||
|
||||
#include "asm/arch/ldt.h"
|
||||
#endif
|
||||
Loading…
Reference in a new issue