Skip to content

Commit

Permalink
parisc: fix redefinition of SET_PERSONALITY
Browse files Browse the repository at this point in the history
commit e72837e 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>
  • Loading branch information
Helge Deller committed Mar 2, 2013
1 parent 1905b77 commit cf8e18e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/parisc/kernel/binfmt_elf32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit cf8e18e

Please sign in to comment.