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

[S390] ptrace: no extern declarations for userspace

/include/asm/ptrace.h:275: extern's make no sense in userspace
/include/asm/ptrace.h:279: extern's make no sense in userspace
/include/asm/ptrace.h:280: extern's make no sense in userspace

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
16de0582 2150edc6

+5 -2
+5 -2
arch/s390/include/asm/ptrace.h
··· 272 272 #define PSW_ASC_SECONDARY 0x0000800000000000UL 273 273 #define PSW_ASC_HOME 0x0000C00000000000UL 274 274 275 - extern long psw_user32_bits; 276 - 277 275 #endif /* __s390x__ */ 278 276 277 + #ifdef __KERNEL__ 279 278 extern long psw_kernel_bits; 280 279 extern long psw_user_bits; 280 + #ifdef CONFIG_64BIT 281 + extern long psw_user32_bits; 282 + #endif 283 + #endif 281 284 282 285 /* This macro merges a NEW PSW mask specified by the user into 283 286 the currently active PSW mask CURRENT, modifying only those