diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2022-05-29 22:27:48 +0300 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2022-06-01 13:03:17 +0300 |
commit | a0e3a44bc2a01153fe4ff56fc1ec26832a869437 (patch) | |
tree | 6304e5c86c6801cf7d016fd0d442612b4ff34e91 /arch/s390/include/asm/uaccess.h | |
parent | 454ede3f1424c36bc124f8d7ed4b3ea654654be1 (diff) | |
download | linux-a0e3a44bc2a01153fe4ff56fc1ec26832a869437.tar.xz |
s390/uaccess: use __noreturn instead of __attribute__((noreturn))
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/uaccess.h')
-rw-r--r-- | arch/s390/include/asm/uaccess.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/s390/include/asm/uaccess.h b/arch/s390/include/asm/uaccess.h index 2d8d9e89d48f..40361072e638 100644 --- a/arch/s390/include/asm/uaccess.h +++ b/arch/s390/include/asm/uaccess.h @@ -55,9 +55,6 @@ copy_to_user_key(void __user *to, const void *from, unsigned long n, unsigned lo return n; } -int __put_user_bad(void) __attribute__((noreturn)); -int __get_user_bad(void) __attribute__((noreturn)); - union oac { unsigned int val; struct { @@ -80,6 +77,8 @@ union oac { }; }; +int __noreturn __put_user_bad(void); + #define __put_user_asm(to, from, size) \ ({ \ union oac __oac_spec = { \ @@ -134,6 +133,8 @@ static __always_inline int __put_user_fn(void *x, void __user *ptr, unsigned lon return rc; } +int __noreturn __get_user_bad(void); + #define __get_user_asm(to, from, size) \ ({ \ union oac __oac_spec = { \ |