s390: convert to generic entry
[linux-2.6-microblaze.git] / arch / s390 / include / asm / elf.h
index 5775fc2..66d51ad 100644 (file)
@@ -233,8 +233,7 @@ extern char elf_platform[];
 do {                                                           \
        set_personality(PER_LINUX |                             \
                (current->personality & (~PER_MASK)));          \
-       current->thread.sys_call_table =                        \
-               (unsigned long) &sys_call_table;                \
+       current->thread.sys_call_table = sys_call_table;        \
 } while (0)
 #else /* CONFIG_COMPAT */
 #define SET_PERSONALITY(ex)                                    \
@@ -245,11 +244,11 @@ do {                                                              \
        if ((ex).e_ident[EI_CLASS] == ELFCLASS32) {             \
                set_thread_flag(TIF_31BIT);                     \
                current->thread.sys_call_table =                \
-                       (unsigned long) &sys_call_table_emu;    \
+                       sys_call_table_emu;                     \
        } else {                                                \
                clear_thread_flag(TIF_31BIT);                   \
                current->thread.sys_call_table =                \
-                       (unsigned long) &sys_call_table;        \
+                       sys_call_table;                         \
        }                                                       \
 } while (0)
 #endif /* CONFIG_COMPAT */