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>
This commit is contained in:
parent
c517d838eb
commit
338ea55579
@ -8,9 +8,6 @@
|
|||||||
|
|
||||||
#include <linux/linkage.h>
|
#include <linux/linkage.h>
|
||||||
#include <asm/dwarf2.h>
|
#include <asm/dwarf2.h>
|
||||||
|
|
||||||
#define FIX_ALIGNMENT 1
|
|
||||||
|
|
||||||
#include <asm/current.h>
|
#include <asm/current.h>
|
||||||
#include <asm/asm-offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
@ -45,7 +42,6 @@
|
|||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro ALIGN_DESTINATION
|
.macro ALIGN_DESTINATION
|
||||||
#ifdef FIX_ALIGNMENT
|
|
||||||
/* check for bad alignment of destination */
|
/* check for bad alignment of destination */
|
||||||
movl %edi,%ecx
|
movl %edi,%ecx
|
||||||
andl $7,%ecx
|
andl $7,%ecx
|
||||||
@ -67,7 +63,6 @@
|
|||||||
|
|
||||||
_ASM_EXTABLE(100b,103b)
|
_ASM_EXTABLE(100b,103b)
|
||||||
_ASM_EXTABLE(101b,103b)
|
_ASM_EXTABLE(101b,103b)
|
||||||
#endif
|
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
/* Standard copy_to_user with segment limit checking */
|
/* Standard copy_to_user with segment limit checking */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user