projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/64s: Fix get_hugepd_cache_index() build failure
[linux-2.6-microblaze.git]
/
arch
/
powerpc
/
include
/
asm
/
book3s
/
64
/
pgtable-64k.h
diff --git
a/arch/powerpc/include/asm/book3s/64/pgtable-64k.h
b/arch/powerpc/include/asm/book3s/64/pgtable-64k.h
index
2fce349
..
ced7ee8
100644
(file)
--- a/
arch/powerpc/include/asm/book3s/64/pgtable-64k.h
+++ b/
arch/powerpc/include/asm/book3s/64/pgtable-64k.h
@@
-45,9
+45,9
@@
static inline int hugepd_ok(hugepd_t hpd)
/*
* This should never get called
*/
-static inline int get_hugepd_cache_index(int index)
+static
__always_
inline int get_hugepd_cache_index(int index)
{
- BUG();
+ BU
ILD_BU
G();
}
#endif /* CONFIG_HUGETLB_PAGE */