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-s390
/
processor.h
diff --git
a/include/asm-s390/processor.h
b/include/asm-s390/processor.h
index 4f744609cd11b35aed60e95e33125553809b1692..e8785634cbdbf99540d8fca6a843a016904178e8 100644
(file)
--- a/
include/asm-s390/processor.h
+++ b/
include/asm-s390/processor.h
@@
-78,6
+78,13
@@
extern int get_cpu_capability(unsigned int *);
#endif /* __s390x__ */
#endif /* __s390x__ */
+#ifdef __KERNEL__
+
+#define STACK_TOP TASK_SIZE
+#define STACK_TOP_MAX DEFAULT_TASK_SIZE
+
+#endif
+
#define HAVE_ARCH_PICK_MMAP_LAYOUT
typedef struct {
#define HAVE_ARCH_PICK_MMAP_LAYOUT
typedef struct {
@@
-161,6
+168,7
@@
struct stack_frame {
/* Forward declaration, a strange C thing */
struct task_struct;
struct mm_struct;
/* Forward declaration, a strange C thing */
struct task_struct;
struct mm_struct;
+struct seq_file;
/* Free all resources held by a thread. */
extern void release_thread(struct task_struct *);
/* Free all resources held by a thread. */
extern void release_thread(struct task_struct *);
@@
-177,7
+185,7
@@
extern unsigned long thread_saved_pc(struct task_struct *t);
/*
* Print register of task into buffer. Used in fs/proc/array.c.
*/
/*
* Print register of task into buffer. Used in fs/proc/array.c.
*/
-extern
char *task_show_regs(struct task_struct *task, char *buffer
);
+extern
void task_show_regs(struct seq_file *m, struct task_struct *task
);
extern void show_registers(struct pt_regs *regs);
extern void show_code(struct pt_regs *regs);
extern void show_registers(struct pt_regs *regs);
extern void show_code(struct pt_regs *regs);