diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2024-02-03 13:45:11 +0300 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-02-16 16:30:15 +0300 |
commit | c038b984a9af1010555986d6fe32d4da9db9fc3d (patch) | |
tree | 65603533bddc541324db31fe8cffab1734e92d06 /arch/s390/include/asm/fpu-types.h | |
parent | 87c5c70036813d26e6e7e4393747a4fdc63cf193 (diff) | |
download | linux-c038b984a9af1010555986d6fe32d4da9db9fc3d.tar.xz |
s390/fpu: change type of fpu mask from u32 to int
Change type of fpu mask consistently from u32 to int. This is a
prerequisite to make the kernel fpu usage preemptible. Upcoming code
uses __atomic* ops which work with int pointers.
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/fpu-types.h')
-rw-r--r-- | arch/s390/include/asm/fpu-types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/fpu-types.h b/arch/s390/include/asm/fpu-types.h index 743858dbc7fb..fee4468a85d3 100644 --- a/arch/s390/include/asm/fpu-types.h +++ b/arch/s390/include/asm/fpu-types.h @@ -24,7 +24,7 @@ struct fpu { /* In-kernel FPU state structure */ struct kernel_fpu { - u32 mask; + int mask; u32 fpc; union { freg_t fprs[__NUM_FPRS]; |