diff options
author | Michael Ellerman | 2018-05-14 15:03:15 +0200 |
---|---|---|
committer | Michael Ellerman | 2018-06-03 12:43:42 +0200 |
commit | ba0635fcbe8c1ce83523c1ec79753868ce57f7a8 (patch) | |
tree | 5ba06764f8df6e529d823c98813e37d27ee93210 /arch/powerpc/include/asm/uaccess.h | |
parent | powerpc/ptrace: Use copy_{from, to}_user() rather than open-coding (diff) | |
download | kernel-qcow2-linux-ba0635fcbe8c1ce83523c1ec79753868ce57f7a8.tar.gz kernel-qcow2-linux-ba0635fcbe8c1ce83523c1ec79753868ce57f7a8.tar.xz kernel-qcow2-linux-ba0635fcbe8c1ce83523c1ec79753868ce57f7a8.zip |
powerpc: Rename thread_struct.fs to addr_limit
It's called 'fs' for historical reasons, it's named after the x86 'FS'
register. But we don't have to use that name for the member of
thread_struct, and in fact arch/x86 doesn't even call it 'fs' anymore.
So rename it to 'addr_limit', which better reflects what it's used
for, and is also the name used on other arches.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/uaccess.h')
-rw-r--r-- | arch/powerpc/include/asm/uaccess.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/uaccess.h b/arch/powerpc/include/asm/uaccess.h index a62ee663b2c8..a91cea15187b 100644 --- a/arch/powerpc/include/asm/uaccess.h +++ b/arch/powerpc/include/asm/uaccess.h @@ -30,8 +30,8 @@ #endif #define get_ds() (KERNEL_DS) -#define get_fs() (current->thread.fs) -#define set_fs(val) (current->thread.fs = (val)) +#define get_fs() (current->thread.addr_limit) +#define set_fs(val) (current->thread.addr_limit = (val)) #define segment_eq(a, b) ((a).seg == (b).seg) |