projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git]
/
arch
/
s390
/
include
/
asm
/
processor.h
diff --git
a/arch/s390/include/asm/processor.h
b/arch/s390/include/asm/processor.h
index 1c4fe129486d2e0a9282dc72a3735c4727277b52..d6fd22ea270db0e5446a41aaabc3d9ce1445e350 100644
(file)
--- a/
arch/s390/include/asm/processor.h
+++ b/
arch/s390/include/asm/processor.h
@@
-184,6
+184,10
@@
struct task_struct;
struct mm_struct;
struct seq_file;
struct mm_struct;
struct seq_file;
+typedef int (*dump_trace_func_t)(void *data, unsigned long address);
+void dump_trace(dump_trace_func_t func, void *data,
+ struct task_struct *task, unsigned long sp);
+
void show_cacheinfo(struct seq_file *m);
/* Free all resources held by a thread. */
void show_cacheinfo(struct seq_file *m);
/* Free all resources held by a thread. */
@@
-203,6
+207,14
@@
unsigned long get_wchan(struct task_struct *p);
/* Has task runtime instrumentation enabled ? */
#define is_ri_task(tsk) (!!(tsk)->thread.ri_cb)
/* Has task runtime instrumentation enabled ? */
#define is_ri_task(tsk) (!!(tsk)->thread.ri_cb)
+static inline unsigned long current_stack_pointer(void)
+{
+ unsigned long sp;
+
+ asm volatile("la %0,0(15)" : "=a" (sp));
+ return sp;
+}
+
static inline unsigned short stap(void)
{
unsigned short cpu_address;
static inline unsigned short stap(void)
{
unsigned short cpu_address;
This page took
0.034895 seconds
and
5
git commands to generate.