projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arch/tile: support 4KB page size as well as 64KB
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
arch
/
tile
/
include
/
asm
/
thread_info.h
diff --git
a/arch/tile/include/asm/thread_info.h
b/arch/tile/include/asm/thread_info.h
index 3872f2b345d2087a756cb5bf61227d1fa0ecfc6c..9e8e9c4dfa2af284a62bcc430af5e845ee03fb80 100644
(file)
--- a/
arch/tile/include/asm/thread_info.h
+++ b/
arch/tile/include/asm/thread_info.h
@@
-68,6
+68,7
@@
struct thread_info {
#else
#define THREAD_SIZE_ORDER (0)
#endif
+#define THREAD_SIZE_PAGES (1 << THREAD_SIZE_ORDER)
#define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER)
#define LOG2_THREAD_SIZE (PAGE_SHIFT + THREAD_SIZE_ORDER)