diff options
| -rw-r--r-- | arch/s390/include/asm/bitops.h | 16 | ||||
| -rw-r--r-- | arch/s390/include/asm/cputime.h | 10 | ||||
| -rw-r--r-- | arch/s390/include/asm/ctl_reg.h | 6 | ||||
| -rw-r--r-- | arch/s390/include/asm/elf.h | 12 | ||||
| -rw-r--r-- | arch/s390/include/asm/idals.h | 10 | ||||
| -rw-r--r-- | arch/s390/include/asm/mmu_context.h | 2 | ||||
| -rw-r--r-- | arch/s390/include/asm/module.h | 2 | ||||
| -rw-r--r-- | arch/s390/include/asm/percpu.h | 2 | ||||
| -rw-r--r-- | arch/s390/include/asm/pgalloc.h | 6 | ||||
| -rw-r--r-- | arch/s390/include/asm/pgtable.h | 44 | ||||
| -rw-r--r-- | arch/s390/include/asm/processor.h | 30 | ||||
| -rw-r--r-- | arch/s390/include/asm/rwsem.h | 60 | ||||
| -rw-r--r-- | arch/s390/include/asm/setup.h | 18 | ||||
| -rw-r--r-- | arch/s390/include/asm/sfp-util.h | 2 | ||||
| -rw-r--r-- | arch/s390/include/asm/thread_info.h | 6 | ||||
| -rw-r--r-- | arch/s390/include/asm/tlb.h | 4 | ||||
| -rw-r--r-- | arch/s390/include/asm/tlbflush.h | 4 | ||||
| -rw-r--r-- | arch/s390/include/asm/types.h | 4 | ||||
| -rw-r--r-- | arch/s390/lib/uaccess_mvcos.c | 2 | ||||
| -rw-r--r-- | arch/s390/lib/uaccess_std.c | 2 | ||||
| -rw-r--r-- | arch/s390/mm/vmem.c | 2 | ||||
| -rw-r--r-- | drivers/s390/char/sclp_sdias.c | 2 |
22 files changed, 123 insertions, 123 deletions
diff --git a/arch/s390/include/asm/bitops.h b/arch/s390/include/asm/bitops.h index 8a503b1acd63..a6ff5a83e227 100644 --- a/arch/s390/include/asm/bitops.h +++ b/arch/s390/include/asm/bitops.h | |||
| @@ -61,7 +61,7 @@ extern const char _ni_bitmap[]; | |||
| 61 | extern const char _zb_findmap[]; | 61 | extern const char _zb_findmap[]; |
| 62 | extern const char _sb_findmap[]; | 62 | extern const char _sb_findmap[]; |
| 63 | 63 | ||
| 64 | #ifndef __s390x__ | 64 | #ifndef CONFIG_64BIT |
| 65 | 65 | ||
| 66 | #define __BITOPS_ALIGN 3 | 66 | #define __BITOPS_ALIGN 3 |
| 67 | #define __BITOPS_WORDSIZE 32 | 67 | #define __BITOPS_WORDSIZE 32 |
| @@ -81,7 +81,7 @@ extern const char _sb_findmap[]; | |||
| 81 | : "d" (__val), "Q" (*(unsigned long *) __addr) \ | 81 | : "d" (__val), "Q" (*(unsigned long *) __addr) \ |
| 82 | : "cc"); | 82 | : "cc"); |
| 83 | 83 | ||
| 84 | #else /* __s390x__ */ | 84 | #else /* CONFIG_64BIT */ |
| 85 | 85 | ||
| 86 | #define __BITOPS_ALIGN 7 | 86 | #define __BITOPS_ALIGN 7 |
| 87 | #define __BITOPS_WORDSIZE 64 | 87 | #define __BITOPS_WORDSIZE 64 |
| @@ -101,7 +101,7 @@ extern const char _sb_findmap[]; | |||
| 101 | : "d" (__val), "Q" (*(unsigned long *) __addr) \ | 101 | : "d" (__val), "Q" (*(unsigned long *) __addr) \ |
| 102 | : "cc"); | 102 | : "cc"); |
| 103 | 103 | ||
| 104 | #endif /* __s390x__ */ | 104 | #endif /* CONFIG_64BIT */ |
| 105 | 105 | ||
| 106 | #define __BITOPS_WORDS(bits) (((bits)+__BITOPS_WORDSIZE-1)/__BITOPS_WORDSIZE) | 106 | #define __BITOPS_WORDS(bits) (((bits)+__BITOPS_WORDSIZE-1)/__BITOPS_WORDSIZE) |
| 107 | #define __BITOPS_BARRIER() asm volatile("" : : : "memory") | 107 | #define __BITOPS_BARRIER() asm volatile("" : : : "memory") |
| @@ -410,7 +410,7 @@ static inline unsigned long __ffz_word_loop(const unsigned long *addr, | |||
| 410 | unsigned long bytes = 0; | 410 | unsigned long bytes = 0; |
| 411 | 411 | ||
| 412 | asm volatile( | 412 | asm volatile( |
| 413 | #ifndef __s390x__ | 413 | #ifndef CONFIG_64BIT |
| 414 | " ahi %1,-1\n" | 414 | " ahi %1,-1\n" |
| 415 | " sra %1,5\n" | 415 | " sra %1,5\n" |
| 416 | " jz 1f\n" | 416 | " jz 1f\n" |
| @@ -447,7 +447,7 @@ static inline unsigned long __ffs_word_loop(const unsigned long *addr, | |||
| 447 | unsigned long bytes = 0; | 447 | unsigned long bytes = 0; |
| 448 | 448 | ||
| 449 | asm volatile( | 449 | asm volatile( |
| 450 | #ifndef __s390x__ | 450 | #ifndef CONFIG_64BIT |
| 451 | " ahi %1,-1\n" | 451 | " ahi %1,-1\n" |
| 452 | " sra %1,5\n" | 452 | " sra %1,5\n" |
| 453 | " jz 1f\n" | 453 | " jz 1f\n" |
| @@ -479,7 +479,7 @@ static inline unsigned long __ffs_word_loop(const unsigned long *addr, | |||
| 479 | */ | 479 | */ |
| 480 | static inline unsigned long __ffz_word(unsigned long nr, unsigned long word) | 480 | static inline unsigned long __ffz_word(unsigned long nr, unsigned long word) |
| 481 | { | 481 | { |
| 482 | #ifdef __s390x__ | 482 | #ifdef CONFIG_64BIT |
| 483 | if ((word & 0xffffffff) == 0xffffffff) { | 483 | if ((word & 0xffffffff) == 0xffffffff) { |
| 484 | word >>= 32; | 484 | word >>= 32; |
| 485 | nr += 32; | 485 | nr += 32; |
| @@ -503,7 +503,7 @@ static inline unsigned long __ffz_word(unsigned long nr, unsigned long word) | |||
| 503 | */ | 503 | */ |
| 504 | static inline unsigned long __ffs_word(unsigned long nr, unsigned long word) | 504 | static inline unsigned long __ffs_word(unsigned long nr, unsigned long word) |
| 505 | { | 505 | { |
| 506 | #ifdef __s390x__ | 506 | #ifdef CONFIG_64BIT |
| 507 | if ((word & 0xffffffff) == 0) { | 507 | if ((word & 0xffffffff) == 0) { |
| 508 | word >>= 32; | 508 | word >>= 32; |
| 509 | nr += 32; | 509 | nr += 32; |
| @@ -544,7 +544,7 @@ static inline unsigned long __load_ulong_le(const unsigned long *p, | |||
| 544 | unsigned long word; | 544 | unsigned long word; |
| 545 | 545 | ||
| 546 | p = (unsigned long *)((unsigned long) p + offset); | 546 | p = (unsigned long *)((unsigned long) p + offset); |
| 547 | #ifndef __s390x__ | 547 | #ifndef CONFIG_64BIT |
| 548 | asm volatile( | 548 | asm volatile( |
| 549 | " ic %0,%O1(%R1)\n" | 549 | " ic %0,%O1(%R1)\n" |
| 550 | " icm %0,2,%O1+1(%R1)\n" | 550 | " icm %0,2,%O1+1(%R1)\n" |
diff --git a/arch/s390/include/asm/cputime.h b/arch/s390/include/asm/cputime.h index 24ef186a1c4f..718374de9c7f 100644 --- a/arch/s390/include/asm/cputime.h +++ b/arch/s390/include/asm/cputime.h | |||
| @@ -21,15 +21,15 @@ typedef unsigned long long __nocast cputime64_t; | |||
| 21 | 21 | ||
| 22 | static inline unsigned long __div(unsigned long long n, unsigned long base) | 22 | static inline unsigned long __div(unsigned long long n, unsigned long base) |
| 23 | { | 23 | { |
| 24 | #ifndef __s390x__ | 24 | #ifndef CONFIG_64BIT |
| 25 | register_pair rp; | 25 | register_pair rp; |
| 26 | 26 | ||
| 27 | rp.pair = n >> 1; | 27 | rp.pair = n >> 1; |
| 28 | asm ("dr %0,%1" : "+d" (rp) : "d" (base >> 1)); | 28 | asm ("dr %0,%1" : "+d" (rp) : "d" (base >> 1)); |
| 29 | return rp.subreg.odd; | 29 | return rp.subreg.odd; |
| 30 | #else /* __s390x__ */ | 30 | #else /* CONFIG_64BIT */ |
| 31 | return n / base; | 31 | return n / base; |
| 32 | #endif /* __s390x__ */ | 32 | #endif /* CONFIG_64BIT */ |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | #define cputime_one_jiffy jiffies_to_cputime(1) | 35 | #define cputime_one_jiffy jiffies_to_cputime(1) |
| @@ -100,7 +100,7 @@ static inline void cputime_to_timespec(const cputime_t cputime, | |||
| 100 | struct timespec *value) | 100 | struct timespec *value) |
| 101 | { | 101 | { |
| 102 | unsigned long long __cputime = (__force unsigned long long) cputime; | 102 | unsigned long long __cputime = (__force unsigned long long) cputime; |
| 103 | #ifndef __s390x__ | 103 | #ifndef CONFIG_64BIT |
| 104 | register_pair rp; | 104 | register_pair rp; |
| 105 | 105 | ||
| 106 | rp.pair = __cputime >> 1; | 106 | rp.pair = __cputime >> 1; |
| @@ -128,7 +128,7 @@ static inline void cputime_to_timeval(const cputime_t cputime, | |||
| 128 | struct timeval *value) | 128 | struct timeval *value) |
| 129 | { | 129 | { |
| 130 | unsigned long long __cputime = (__force unsigned long long) cputime; | 130 | unsigned long long __cputime = (__force unsigned long long) cputime; |
| 131 | #ifndef __s390x__ | 131 | #ifndef CONFIG_64BIT |
| 132 | register_pair rp; | 132 | register_pair rp; |
| 133 | 133 | ||
| 134 | rp.pair = __cputime >> 1; | 134 | rp.pair = __cputime >> 1; |
diff --git a/arch/s390/include/asm/ctl_reg.h b/arch/s390/include/asm/ctl_reg.h index ecde9417d669..debfda33d1f8 100644 --- a/arch/s390/include/asm/ctl_reg.h +++ b/arch/s390/include/asm/ctl_reg.h | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | #ifndef __ASM_CTL_REG_H | 7 | #ifndef __ASM_CTL_REG_H |
| 8 | #define __ASM_CTL_REG_H | 8 | #define __ASM_CTL_REG_H |
| 9 | 9 | ||
| 10 | #ifdef __s390x__ | 10 | #ifdef CONFIG_64BIT |
| 11 | 11 | ||
| 12 | #define __ctl_load(array, low, high) ({ \ | 12 | #define __ctl_load(array, low, high) ({ \ |
| 13 | typedef struct { char _[sizeof(array)]; } addrtype; \ | 13 | typedef struct { char _[sizeof(array)]; } addrtype; \ |
| @@ -25,7 +25,7 @@ | |||
| 25 | : "i" (low), "i" (high)); \ | 25 | : "i" (low), "i" (high)); \ |
| 26 | }) | 26 | }) |
| 27 | 27 | ||
| 28 | #else /* __s390x__ */ | 28 | #else /* CONFIG_64BIT */ |
| 29 | 29 | ||
| 30 | #define __ctl_load(array, low, high) ({ \ | ||
