summaryrefslogtreecommitdiff
path: root/src/linux/bfin/set_scno.c
blob: 00a325b451ccfd109a0e84c9cf96ce9252da095a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * Copyright (c) 2016-2018 The strace developers.
 * All rights reserved.
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

static int
arch_set_scno(struct tcb *tcp, kernel_ulong_t scno)
{
	return upoke(tcp, PT_ORIG_P0, scno);
}