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
aout: move STACK_TOP[_MAX] to asm/processor.h
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
include
/
asm-sparc
/
processor.h
diff --git
a/include/asm-sparc/processor.h
b/include/asm-sparc/processor.h
index 6fbb3f0af8d891a6b7e1fdc8b80c58970a0a5a4e..40b1e41fdea7037e8d361c372674dd8cb55e39de 100644
(file)
--- a/
include/asm-sparc/processor.h
+++ b/
include/asm-sparc/processor.h
@@
-33,6
+33,10
@@
* we can make our access_ok test faster
*/
#define TASK_SIZE PAGE_OFFSET
+#ifdef __KERNEL__
+#define STACK_TOP (PAGE_OFFSET - PAGE_SIZE)
+#define STACK_TOP_MAX STACK_TOP
+#endif /* __KERNEL__ */
struct task_struct;