Commit acc0e94e authored by Nathan Scott's avatar Nathan Scott

[XFS] Move the stack trace wrapper into a kernel-version-specific location.

SGI Modid: 2.5.x-xfs:slinx:162317a
parent 0f2140be
......@@ -201,6 +201,11 @@ static inline void set_buffer_unwritten_io(struct buffer_head *bh)
#define howmany(x, y) (((x)+((y)-1))/(y))
#define roundup(x, y) ((((x)+((y)-1))/(y))*(y))
static inline void xfs_stack_trace(void)
{
dump_stack();
}
/* Move the kernel do_div definition off to one side */
#if defined __i386__
......
......@@ -257,12 +257,6 @@ xfs_cmn_err(int panic_tag, int level, xfs_mount_t *mp, char *fmt, ...)
va_end(ap);
}
void
xfs_stack_trace(void)
{
dump_stack();
}
void
xfs_error_report(
char *tag,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment