diff options
Diffstat (limited to 'arch/x86_64/lib/iomap_copy_64.S')
-rw-r--r-- | arch/x86_64/lib/iomap_copy_64.S | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/x86_64/lib/iomap_copy_64.S b/arch/x86_64/lib/iomap_copy_64.S new file mode 100644 index 00000000000..05a95e713da --- /dev/null +++ b/arch/x86_64/lib/iomap_copy_64.S | |||
@@ -0,0 +1,30 @@ | |||
1 | /* | ||
2 | * Copyright 2006 PathScale, Inc. All Rights Reserved. | ||
3 | * | ||
4 | * This file is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of version 2 of the GNU General Public License | ||
6 | * as published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program; if not, write to the Free Software Foundation, | ||
15 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. | ||
16 | */ | ||
17 | |||
18 | #include <linux/linkage.h> | ||
19 | #include <asm/dwarf2.h> | ||
20 | |||
21 | /* | ||
22 | * override generic version in lib/iomap_copy.c | ||
23 | */ | ||
24 | ENTRY(__iowrite32_copy) | ||
25 | CFI_STARTPROC | ||
26 | movl %edx,%ecx | ||
27 | rep movsd | ||
28 | ret | ||
29 | CFI_ENDPROC | ||
30 | ENDPROC(__iowrite32_copy) | ||