aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/include/asm/processor.h')
-rw-r--r--arch/s390/include/asm/processor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h
index 9f2ff4a54aff..b0fcbc37b637 100644
--- a/arch/s390/include/asm/processor.h
+++ b/arch/s390/include/asm/processor.h
@@ -315,12 +315,12 @@ void enabled_wait(void);
315/* 315/*
316 * Function to drop a processor into disabled wait state 316 * Function to drop a processor into disabled wait state
317 */ 317 */
318static inline void __noreturn disabled_wait(unsigned long code) 318static inline void __noreturn disabled_wait(void)
319{ 319{
320 psw_t psw; 320 psw_t psw;
321 321
322 psw.mask = PSW_MASK_BASE | PSW_MASK_WAIT | PSW_MASK_BA | PSW_MASK_EA; 322 psw.mask = PSW_MASK_BASE | PSW_MASK_WAIT | PSW_MASK_BA | PSW_MASK_EA;
323 psw.addr = code; 323 psw.addr = _THIS_IP_;
324 __load_psw(psw); 324 __load_psw(psw);
325 while (1); 325 while (1);
326} 326}