xref: /openbmc/linux/arch/x86/lib/iomap_copy_64.S (revision 185f3d38900f750a4566f87cde6a178f3595a115)
1*185f3d38SThomas Gleixner/*
2*185f3d38SThomas Gleixner * Copyright 2006 PathScale, Inc.  All Rights Reserved.
3*185f3d38SThomas Gleixner *
4*185f3d38SThomas Gleixner * This file is free software; you can redistribute it and/or modify
5*185f3d38SThomas Gleixner * it under the terms of version 2 of the GNU General Public License
6*185f3d38SThomas Gleixner * as published by the Free Software Foundation.
7*185f3d38SThomas Gleixner *
8*185f3d38SThomas Gleixner * This program is distributed in the hope that it will be useful,
9*185f3d38SThomas Gleixner * but WITHOUT ANY WARRANTY; without even the implied warranty of
10*185f3d38SThomas Gleixner * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11*185f3d38SThomas Gleixner * GNU General Public License for more details.
12*185f3d38SThomas Gleixner *
13*185f3d38SThomas Gleixner * You should have received a copy of the GNU General Public License
14*185f3d38SThomas Gleixner * along with this program; if not, write to the Free Software Foundation,
15*185f3d38SThomas Gleixner * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
16*185f3d38SThomas Gleixner */
17*185f3d38SThomas Gleixner
18*185f3d38SThomas Gleixner#include <linux/linkage.h>
19*185f3d38SThomas Gleixner#include <asm/dwarf2.h>
20*185f3d38SThomas Gleixner
21*185f3d38SThomas Gleixner/*
22*185f3d38SThomas Gleixner * override generic version in lib/iomap_copy.c
23*185f3d38SThomas Gleixner */
24*185f3d38SThomas GleixnerENTRY(__iowrite32_copy)
25*185f3d38SThomas Gleixner	CFI_STARTPROC
26*185f3d38SThomas Gleixner	movl %edx,%ecx
27*185f3d38SThomas Gleixner	rep movsd
28*185f3d38SThomas Gleixner	ret
29*185f3d38SThomas Gleixner	CFI_ENDPROC
30*185f3d38SThomas GleixnerENDPROC(__iowrite32_copy)
31