diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-03 20:18:52 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-03 20:18:52 -0400 |
| commit | a8adc0f0911227996b3e79690562e6e325e4c09b (patch) | |
| tree | 69a9821bb3aba0b4567d0540de794908c65edfff /arch/x86/platform | |
| parent | 3ef0a61a467639cf7def299309cd9ea524c3e1c1 (diff) | |
| parent | 744c193eb9a223ccb2e60500196cf590b3a6131a (diff) | |
Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 cleanups from Ingo Molnar:
"Header file and a wrapper functions cleanup"
* 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86: Migrate exception table users off module.h and onto extable.h
x86: Clean up various simple wrapper functions
Diffstat (limited to 'arch/x86/platform')
| -rw-r--r-- | arch/x86/platform/uv/bios_uv.c | 7 | ||||
| -rw-r--r-- | arch/x86/platform/uv/tlb_uv.c | 6 |
2 files changed, 3 insertions, 10 deletions
diff --git a/arch/x86/platform/uv/bios_uv.c b/arch/x86/platform/uv/bios_uv.c index 23f2f3e41c7f..b4d5e95fe4df 100644 --- a/arch/x86/platform/uv/bios_uv.c +++ b/arch/x86/platform/uv/bios_uv.c | |||
| @@ -149,11 +149,8 @@ EXPORT_SYMBOL_GPL(uv_bios_change_memprotect); | |||
| 149 | s64 | 149 | s64 |
| 150 | uv_bios_reserved_page_pa(u64 buf, u64 *cookie, u64 *addr, u64 *len) | 150 | uv_bios_reserved_page_pa(u64 buf, u64 *cookie, u64 *addr, u64 *len) |
| 151 | { | 151 | { |
| 152 | s64 ret; | 152 | return uv_bios_call_irqsave(UV_BIOS_GET_PARTITION_ADDR, (u64)cookie, |
| 153 | 153 | (u64)addr, buf, (u64)len, 0); | |
| 154 | ret = uv_bios_call_irqsave(UV_BIOS_GET_PARTITION_ADDR, (u64)cookie, | ||
| 155 | (u64)addr, buf, (u64)len, 0); | ||
| 156 | return ret; | ||
| 157 | } | 154 | } |
| 158 | EXPORT_SYMBOL_GPL(uv_bios_reserved_page_pa); | 155 | EXPORT_SYMBOL_GPL(uv_bios_reserved_page_pa); |
| 159 | 156 | ||
diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index fdb4d42b4ce5..276e1b7bba3c 100644 --- a/arch/x86/platform/uv/tlb_uv.c +++ b/arch/x86/platform/uv/tlb_uv.c | |||
| @@ -580,11 +580,7 @@ static int uv1_wait_completion(struct bau_desc *bau_desc, | |||
| 580 | */ | 580 | */ |
| 581 | static unsigned long uv2_3_read_status(unsigned long offset, int rshft, int desc) | 581 | static unsigned long uv2_3_read_status(unsigned long offset, int rshft, int desc) |
| 582 | { | 582 | { |
| 583 | unsigned long descriptor_status; | 583 | return ((read_lmmr(offset) >> rshft) & UV_ACT_STATUS_MASK) << 1; |
| 584 | |||
| 585 | descriptor_status = | ||
| 586 | ((read_lmmr(offset) >> rshft) & UV_ACT_STATUS_MASK) << 1; | ||
| 587 | return descriptor_status; | ||
| 588 | } | 584 | } |
| 589 | 585 | ||
| 590 | /* | 586 | /* |
