x86/lib/copy_user_64.S: Remove FIX_ALIGNMENT define
authorBorislav Petkov <bp@suse.de>
Sun, 4 Jan 2015 10:49:56 +0000 (11:49 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 23 Feb 2015 12:35:49 +0000 (13:35 +0100)
It is unconditionally enabled so remove it. No object file change.

Signed-off-by: Borislav Petkov <bp@suse.de>
arch/x86/lib/copy_user_64.S

index dee945d555941a078f40049b24b8b4731aba6f2c..1530ec2c1b127fc6bb6f4e674363c7158f559014 100644 (file)
@@ -8,9 +8,6 @@
 
 #include <linux/linkage.h>
 #include <asm/dwarf2.h>
-
-#define FIX_ALIGNMENT 1
-
 #include <asm/current.h>
 #include <asm/asm-offsets.h>
 #include <asm/thread_info.h>
@@ -45,7 +42,6 @@
        .endm
 
        .macro ALIGN_DESTINATION
-#ifdef FIX_ALIGNMENT
        /* check for bad alignment of destination */
        movl %edi,%ecx
        andl $7,%ecx
@@ -67,7 +63,6 @@
 
        _ASM_EXTABLE(100b,103b)
        _ASM_EXTABLE(101b,103b)
-#endif
        .endm
 
 /* Standard copy_to_user with segment limit checking */