projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c0a982
)
x86-32, hibernate: Use the page size macro instead of constant value
author
Zhimin Gu
<kookoo.gu@intel.com>
Fri, 21 Sep 2018 06:28:01 +0000
(14:28 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Wed, 3 Oct 2018 09:56:34 +0000
(11:56 +0200)
Convert the hard code into PAGE_SIZE for better scalability.
No functional change.
Signed-off-by: Zhimin Gu <kookoo.gu@intel.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/power/hibernate_asm_32.S
patch
|
blob
|
history
diff --git
a/arch/x86/power/hibernate_asm_32.S
b/arch/x86/power/hibernate_asm_32.S
index f0627cf30a366651da6f258c13891b57c7e7442d..f5103ae96582afd5eae54f75a8aea8c61beecfc7 100644
(file)
--- a/
arch/x86/power/hibernate_asm_32.S
+++ b/
arch/x86/power/hibernate_asm_32.S
@@
-52,7
+52,7
@@
copy_loop:
movl pbe_address(%edx), %esi
movl pbe_orig_address(%edx), %edi
- movl $
1024
, %ecx
+ movl $
(PAGE_SIZE >> 2)
, %ecx
rep
movsl