Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf8e18ea authored by Helge Deller's avatar Helge Deller
Browse files

parisc: fix redefinition of SET_PERSONALITY



commit e72837e3 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: default avatarHelge Deller <deller@gmx.de>
parent 1905b771
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -85,6 +85,7 @@ struct elf_prpsinfo32
 * could set a processor dependent flag in the thread_struct.
 */

#undef SET_PERSONALITY
#define SET_PERSONALITY(ex) \
	set_thread_flag(TIF_32BIT); \
	current->thread.map_base = DEFAULT_MAP_BASE32; \