diff options
author | Borislav Petkov <bp@suse.de> | 2015-01-04 05:49:56 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2015-02-23 07:35:49 -0500 |
commit | 338ea55579d1dbd83753b10db74da747b2f1998f (patch) | |
tree | 32d5e1b9d536c63cb2c93a9633f2c4202e93ca59 /arch/x86/lib | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) |
x86/lib/copy_user_64.S: Remove FIX_ALIGNMENT define
It is unconditionally enabled so remove it. No object file change.
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r-- | arch/x86/lib/copy_user_64.S | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/lib/copy_user_64.S b/arch/x86/lib/copy_user_64.S index dee945d55594..1530ec2c1b12 100644 --- a/arch/x86/lib/copy_user_64.S +++ b/arch/x86/lib/copy_user_64.S | |||
@@ -8,9 +8,6 @@ | |||
8 | 8 | ||
9 | #include <linux/linkage.h> | 9 | #include <linux/linkage.h> |
10 | #include <asm/dwarf2.h> | 10 | #include <asm/dwarf2.h> |
11 | |||
12 | #define FIX_ALIGNMENT 1 | ||
13 | |||
14 | #include <asm/current.h> | 11 | #include <asm/current.h> |
15 | #include <asm/asm-offsets.h> | 12 | #include <asm/asm-offsets.h> |
16 | #include <asm/thread_info.h> | 13 | #include <asm/thread_info.h> |
@@ -45,7 +42,6 @@ | |||
45 | .endm | 42 | .endm |
46 | 43 | ||
47 | .macro ALIGN_DESTINATION | 44 | .macro ALIGN_DESTINATION |
48 | #ifdef FIX_ALIGNMENT | ||
49 | /* check for bad alignment of destination */ | 45 | /* check for bad alignment of destination */ |
50 | movl %edi,%ecx | 46 | movl %edi,%ecx |
51 | andl $7,%ecx | 47 | andl $7,%ecx |
@@ -67,7 +63,6 @@ | |||
67 | 63 | ||
68 | _ASM_EXTABLE(100b,103b) | 64 | _ASM_EXTABLE(100b,103b) |
69 | _ASM_EXTABLE(101b,103b) | 65 | _ASM_EXTABLE(101b,103b) |
70 | #endif | ||
71 | .endm | 66 | .endm |
72 | 67 | ||
73 | /* Standard copy_to_user with segment limit checking */ | 68 | /* Standard copy_to_user with segment limit checking */ |