parisc: fix redefinition of SET_PERSONALITY
commit e72837e3e7
introduced
a default SET_PERSONALITY() in include/linux/elf.h.
This breaks with our own SET_PERSONALITY define for
32bit userspace on 64bit kernel.
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Родитель
1905b7716c
Коммит
cf8e18ea2f
|
@ -85,6 +85,7 @@ struct elf_prpsinfo32
|
||||||
* could set a processor dependent flag in the thread_struct.
|
* could set a processor dependent flag in the thread_struct.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#undef SET_PERSONALITY
|
||||||
#define SET_PERSONALITY(ex) \
|
#define SET_PERSONALITY(ex) \
|
||||||
set_thread_flag(TIF_32BIT); \
|
set_thread_flag(TIF_32BIT); \
|
||||||
current->thread.map_base = DEFAULT_MAP_BASE32; \
|
current->thread.map_base = DEFAULT_MAP_BASE32; \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче