forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/arch/x86/boot/bioscall.S
....@@ -1,10 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* -----------------------------------------------------------------------
23 *
34 * Copyright 2009-2014 Intel Corporation; author H. Peter Anvin
4
- *
5
- * This file is part of the Linux kernel, and is made available under
6
- * the terms of the GNU General Public License version 2 or (at your
7
- * option) any later version; incorporated herein by reference.
85 *
96 * ----------------------------------------------------------------------- */
107
....@@ -35,7 +32,7 @@
3532 movw %dx, %si
3633 movw %sp, %di
3734 movw $11, %cx
38
- rep; movsd
35
+ rep; movsl
3936
4037 /* Pop full state from the stack */
4138 popal
....@@ -70,7 +67,7 @@
7067 jz 4f
7168 movw %sp, %si
7269 movw $11, %cx
73
- rep; movsd
70
+ rep; movsl
7471 4: addw $44, %sp
7572
7673 /* Restore state and return */