diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-10-30 10:16:50 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-10-30 10:16:43 -0400 |
commit | b50511e41aa51a89b4176784a670582424bc7db6 (patch) | |
tree | 0ad1553c7f2431878310e590187ee59ccb4d8cab /arch/s390/lib/delay.c | |
parent | b6ef5bb3d93efb95ba855a628740375c2280a59e (diff) |
[S390] cleanup psw related bits and pieces
Split out addressing mode bits from PSW_BASE_BITS, rename PSW_BASE_BITS
to PSW_MASK_BASE, get rid of psw_user32_bits, remove unused function
enabled_wait(), introduce PSW_MASK_USER, and drop PSW_MASK_MERGE macros.
Change psw_kernel_bits / psw_user_bits to contain only the bits that
are always set in the respective mode.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/lib/delay.c')
-rw-r--r-- | arch/s390/lib/delay.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/lib/delay.c b/arch/s390/lib/delay.c index a65229d91c92..db92f044024c 100644 --- a/arch/s390/lib/delay.c +++ b/arch/s390/lib/delay.c | |||
@@ -32,7 +32,8 @@ static void __udelay_disabled(unsigned long long usecs) | |||
32 | u64 clock_saved; | 32 | u64 clock_saved; |
33 | u64 end; | 33 | u64 end; |
34 | 34 | ||
35 | mask = psw_kernel_bits | PSW_MASK_WAIT | PSW_MASK_EXT; | 35 | mask = psw_kernel_bits | PSW_MASK_DAT | PSW_MASK_WAIT | |
36 | PSW_MASK_EXT | PSW_MASK_MCHECK; | ||
36 | end = get_clock() + (usecs << 12); | 37 | end = get_clock() + (usecs << 12); |
37 | clock_saved = local_tick_disable(); | 38 | clock_saved = local_tick_disable(); |
38 | __ctl_store(cr0_saved, 0, 0); | 39 | __ctl_store(cr0_saved, 0, 0); |