summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/fpu-types.h
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-02-03 13:45:11 +0300
committerHeiko Carstens <hca@linux.ibm.com>2024-02-16 16:30:15 +0300
commitc038b984a9af1010555986d6fe32d4da9db9fc3d (patch)
tree65603533bddc541324db31fe8cffab1734e92d06 /arch/s390/include/asm/fpu-types.h
parent87c5c70036813d26e6e7e4393747a4fdc63cf193 (diff)
downloadlinux-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.h2
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];