summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/align.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-10-31 04:47:26 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2014-11-09 23:59:32 +0100
commit6f791bef76d66923bc250cbbf4ddbf3f1c944686 (patch)
tree01375ad89a66b10210119d751510c9605e961b72 /arch/powerpc/kernel/align.c
parentpowerpc: Don't use local named register variable in current_thread_info (diff)
downloadlinux-6f791bef76d66923bc250cbbf4ddbf3f1c944686.tar.xz
linux-6f791bef76d66923bc250cbbf4ddbf3f1c944686.zip
powerpc: Remove double braces in alignment code.
Looks like I introduced this when adding LE support. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/align.c')
-rw-r--r--arch/powerpc/kernel/align.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/align.c b/arch/powerpc/kernel/align.c
index 34f55524d456..86150fbb42c3 100644
--- a/arch/powerpc/kernel/align.c
+++ b/arch/powerpc/kernel/align.c
@@ -908,7 +908,7 @@ int fix_alignment(struct pt_regs *regs)
flush_fp_to_thread(current);
}
- if ((nb == 16)) {
+ if (nb == 16) {
if (flags & F) {
/* Special case for 16-byte FP loads and stores */
PPC_WARN_ALIGNMENT(fp_pair, regs);