Skip to content

Commit 26e7d9d

Browse files
suryasaimadhuIngo Molnar
authored and
Ingo Molnar
committed
x86/asm/uaccess: Remove FIX_ALIGNMENT define from copy_user_nocache_64.S:
No code changed: # arch/x86/lib/copy_user_nocache_64.o: text data bss dec hex filename 390 0 0 390 186 copy_user_nocache_64.o.before 390 0 0 390 186 copy_user_nocache_64.o.after md5: 7fa0577b28700af89d3a67a8b590426e copy_user_nocache_64.o.before.asm 7fa0577b28700af89d3a67a8b590426e copy_user_nocache_64.o.after.asm Signed-off-by: Borislav Petkov <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Denys Vlasenko <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent f21262b commit 26e7d9d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

arch/x86/lib/copy_user_nocache_64.S

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,13 @@
88

99
#include <linux/linkage.h>
1010
#include <asm/dwarf2.h>
11-
12-
#define FIX_ALIGNMENT 1
13-
1411
#include <asm/current.h>
1512
#include <asm/asm-offsets.h>
1613
#include <asm/thread_info.h>
1714
#include <asm/asm.h>
1815
#include <asm/smap.h>
1916

2017
.macro ALIGN_DESTINATION
21-
#ifdef FIX_ALIGNMENT
2218
/* check for bad alignment of destination */
2319
movl %edi,%ecx
2420
andl $7,%ecx
@@ -40,7 +36,6 @@
4036

4137
_ASM_EXTABLE(100b,103b)
4238
_ASM_EXTABLE(101b,103b)
43-
#endif
4439
.endm
4540

4641
/*

0 commit comments

Comments
 (0)