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:
5aa37e4
)
x86: apic - use SET_APIC_DEST_FIELD instead of hardcoded shift
author
Cyrill Gorcunov
<gorcunov@gmail.com>
Fri, 15 Aug 2008 11:51:20 +0000
(13:51 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 15 Aug 2008 11:51:20 +0000
(13:51 +0200)
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/apic_64.c
b/arch/x86/kernel/apic_64.c
index 69a876be506fc647df977b64881d4257c623e9c1..77c5e5eb820eec6910449a5831e4ac13cc62c77f 100644
(file)
--- a/
arch/x86/kernel/apic_64.c
+++ b/
arch/x86/kernel/apic_64.c
@@
-150,7
+150,7
@@
u32 safe_xapic_wait_icr_idle(void)
void xapic_icr_write(u32 low, u32 id)
{
- apic_write(APIC_ICR2,
id << 24
);
+ apic_write(APIC_ICR2,
SET_APIC_DEST_FIELD(id)
);
apic_write(APIC_ICR, low);
}