Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/uaccess: use __noreturn instead of __attribute__((noreturn))

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>

+4 -3
+4 -3
arch/s390/include/asm/uaccess.h
··· 55 55 return n; 56 56 } 57 57 58 - int __put_user_bad(void) __attribute__((noreturn)); 59 - int __get_user_bad(void) __attribute__((noreturn)); 60 - 61 58 union oac { 62 59 unsigned int val; 63 60 struct { ··· 76 79 } oac2; 77 80 }; 78 81 }; 82 + 83 + int __noreturn __put_user_bad(void); 79 84 80 85 #define __put_user_asm(to, from, size) \ 81 86 ({ \ ··· 132 133 } 133 134 return rc; 134 135 } 136 + 137 + int __noreturn __get_user_bad(void); 135 138 136 139 #define __get_user_asm(to, from, size) \ 137 140 ({ \