~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/sh/kernel/stacktrace.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#include <asm/ptrace.h>
18
18
#include <asm/stacktrace.h>
19
19
 
20
 
static void save_stack_warning(void *data, char *msg)
21
 
{
22
 
}
23
 
 
24
 
static void
25
 
save_stack_warning_symbol(void *data, char *msg, unsigned long symbol)
26
 
{
27
 
}
28
 
 
29
20
static int save_stack_stack(void *data, char *name)
30
21
{
31
22
        return 0;
51
42
}
52
43
 
53
44
static const struct stacktrace_ops save_stack_ops = {
54
 
        .warning = save_stack_warning,
55
 
        .warning_symbol = save_stack_warning_symbol,
56
45
        .stack = save_stack_stack,
57
46
        .address = save_stack_address,
58
47
};
88
77
}
89
78
 
90
79
static const struct stacktrace_ops save_stack_ops_nosched = {
91
 
        .warning = save_stack_warning,
92
 
        .warning_symbol = save_stack_warning_symbol,
93
80
        .stack = save_stack_stack,
94
81
        .address = save_stack_address_nosched,
95
82
};