summaryrefslogtreecommitdiff
path: root/linux/xtensa/set_scno.c
blob: 8d38c13bccfed36fbc0a7b9932969092c5764072 (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, SYSCALL_NR, scno);
}