[PATCH 31/35] x86/ldt: Split out sanity check in map_ldt_struct()

2018-04-16 Thread Joerg Roedel
From: Joerg Roedel This splits out the mapping sanity check and the actual mapping of the LDT to user-space from the map_ldt_struct() function in a way so that it is re-usable for PAE paging. Signed-off-by: Joerg Roedel --- arch/x86/kernel/ldt.c | 82 ---

[PATCH 31/35] x86/ldt: Split out sanity check in map_ldt_struct()

2018-03-16 Thread Joerg Roedel
From: Joerg Roedel This splits out the mapping sanity check and the actual mapping of the LDT to user-space from the map_ldt_struct() function in a way so that it is re-usable for PAE paging. Signed-off-by: Joerg Roedel --- arch/x86/kernel/ldt.c | 82 ---