]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/s390/include/asm/elf.h
s390: move sys_call_table and last_break from thread_info to thread_struct
[mirror_ubuntu-zesty-kernel.git] / arch / s390 / include / asm / elf.h
index 1736c7d3c94c7e3fe32a5a44c5f5ddb02dbaaa9f..f4381e1fb19e5e8e3e6b0bd2f1dcfe7615d24c58 100644 (file)
@@ -193,7 +193,7 @@ extern char elf_platform[];
 do {                                                           \
        set_personality(PER_LINUX |                             \
                (current->personality & (~PER_MASK)));          \
-       current_thread_info()->sys_call_table =                 \
+       current->thread.sys_call_table =                        \
                (unsigned long) &sys_call_table;                \
 } while (0)
 #else /* CONFIG_COMPAT */
@@ -204,11 +204,11 @@ do {                                                              \
                        (current->personality & ~PER_MASK));    \
        if ((ex).e_ident[EI_CLASS] == ELFCLASS32) {             \
                set_thread_flag(TIF_31BIT);                     \
-               current_thread_info()->sys_call_table =         \
+               current->thread.sys_call_table =                \
                        (unsigned long) &sys_call_table_emu;    \
        } else {                                                \
                clear_thread_flag(TIF_31BIT);                   \
-               current_thread_info()->sys_call_table =         \
+               current->thread.sys_call_table =                \
                        (unsigned long) &sys_call_table;        \
        }                                                       \
 } while (0)