mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
Remove the macro get_personality
Remove the macro get_personality, use ->personality instead. Cc: Christoph Hellwig <hch@infradead.org Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: David Howells <dhowells@redhat.com> Cc: Bryan Wu <bryan.wu@analog.com> Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
6e5e8c5085
commit
ecd0fa9825
3 changed files with 3 additions and 7 deletions
|
|
@ -105,10 +105,6 @@ struct exec_domain {
|
|||
*/
|
||||
#define personality(pers) (pers & PER_MASK)
|
||||
|
||||
/*
|
||||
* Personality of the currently running process.
|
||||
*/
|
||||
#define get_personality (current->personality)
|
||||
|
||||
/*
|
||||
* Change personality of the currently running process.
|
||||
|
|
|
|||
Loading…
Reference in a new issue