uti: rename x86-specific 'fs' to 'tls' + arm implem

Note: the original fujitsu implementation didn't rename the various
save_fs function/desc to save_tls for some reason, might as well go all
the way though...

Change-Id: Ic362c15c8b320c4d258d2ead8c5fd4eafd9d0ae9
Fujitsu: POSTK_DEBUG_ARCH_DEP_91
This commit is contained in:
Shiratori, Takehiro
2019-03-12 14:35:27 +09:00
committed by Masamichi Takagi
parent 8356ef6c96
commit c32edff2bb
8 changed files with 79 additions and 46 deletions

View File

@@ -565,9 +565,9 @@ struct mcctrl_ioctl_getrusage_desc {
};
/* uti */
long mcctrl_switch_ctx(ihk_os_t os, struct uti_save_fs_desc __user *desc,
long mcctrl_switch_ctx(ihk_os_t os, struct uti_switch_ctx_desc __user *desc,
struct file *file);
long arch_switch_ctx(struct uti_save_fs_desc *desc);
long arch_switch_ctx(struct uti_switch_ctx_desc *desc);
struct host_thread {
struct list_head list;
@@ -575,8 +575,8 @@ struct host_thread {
int pid;
int tid;
unsigned long usp;
unsigned long lfs;
unsigned long rfs;
unsigned long ltls;
unsigned long rtls;
};
/* Used to wake-up a Linux thread futex_wait()-ing */