projects
/
GitHub
/
moto-9609
/
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:
b63ea71
)
tile: fix tilegx vmalloc_sync_all BUG_ON
author
Chris Metcalf
<cmetcalf@tilera.com>
Tue, 6 Aug 2013 18:34:08 +0000
(14:34 -0400)
committer
Chris Metcalf
<cmetcalf@tilera.com>
Mon, 12 Aug 2013 18:46:51 +0000
(14:46 -0400)
As specified, the test wasn't correct, and in any case it should
be a BUILD_BUG_ON.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/mm/fault.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/tile/mm/fault.c
b/arch/tile/mm/fault.c
index f7f99f90cbe0ebf7630416814daf846490e525eb..6152819e555b3deb7ad51f6c987ef043ea82318e 100644
(file)
--- a/
arch/tile/mm/fault.c
+++ b/
arch/tile/mm/fault.c
@@
-870,7
+870,8
@@
void vmalloc_sync_all(void)
{
#ifdef __tilegx__
/* Currently all L1 kernel pmd's are static and shared. */
- BUG_ON(pgd_index(VMALLOC_END) != pgd_index(VMALLOC_START));
+ BUILD_BUG_ON(pgd_index(VMALLOC_END - PAGE_SIZE) !=
+ pgd_index(VMALLOC_START));
#else
/*
* Note that races in the updates of insync and start aren't