Skip to content

Commit

Permalink
metag: remove SET_PERSONALITY()
Browse files Browse the repository at this point in the history
Commit e72837e ("default
SET_PERSONALITY() in linux/elf.h").

The above commit moved the common definition of SET_PERSONALITY() in a
bunch of the arch headers to linux/elf.h. Metag shares that common
definition so remove it from arch/metag/include/asm/elf.h too.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
  • Loading branch information
James Hogan committed Mar 4, 2013
1 parent 6dbe51c commit 0010aee
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/metag/include/asm/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ typedef unsigned long elf_fpregset_t;

#define ELF_PLATFORM (NULL)

#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX | (current->personality & (~PER_MASK)))

#define STACK_RND_MASK (0)

#ifdef CONFIG_METAG_USER_TCM
Expand Down

0 comments on commit 0010aee

Please sign in to comment.