projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05139d8
)
x86: head_64.S cleanup - use PMD_SHIFT instead of numeric constant
author
Cyrill Gorcunov
<gorcunov@gmail.com>
Tue, 13 May 2008 16:55:40 +0000
(20:55 +0400)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sun, 25 May 2008 06:58:33 +0000
(08:58 +0200)
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/head_64.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/head_64.S
b/arch/x86/kernel/head_64.S
index 7475b4c91f05efbea8cfda946ef419a5ce28eb3e..d8ed3259e6e4dccb0aa0b6feb529c74727b2c32e 100644
(file)
--- a/
arch/x86/kernel/head_64.S
+++ b/
arch/x86/kernel/head_64.S
@@
-322,11
+322,11
@@
early_idt_ripmsg:
ENTRY(name)
/* Automate the creation of 1 to 1 mapping pmd entries */
-#define PMDS(START, PERM, COUNT) \
- i = 0 ; \
- .rept (COUNT) ; \
- .quad (START) + (i <<
21) + (PERM) ;
\
- i = i + 1 ; \
+#define PMDS(START, PERM, COUNT)
\
+ i = 0 ;
\
+ .rept (COUNT) ;
\
+ .quad (START) + (i <<
PMD_SHIFT) + (PERM) ;
\
+ i = i + 1 ;
\
.endr
/*