summaryrefslogtreecommitdiff
path: root/linux/powerpc/arch_rt_sigframe.c
blob: 1a614135c2232a2e120289e5e8baf14e367b0d66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Copyright (c) 2017-2018 Dmitry V. Levin <ldv@altlinux.org>
 * All rights reserved.
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#define SIGNAL_FRAMESIZE32	64

FUNC_GET_RT_SIGFRAME_ADDR
{
	kernel_ulong_t sp;
	return get_stack_pointer(tcp, &sp) ? sp + SIGNAL_FRAMESIZE32 + 16 : 0;
}