summaryrefslogtreecommitdiff
path: root/linux/hppa/set_scno.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/hppa/set_scno.c')
-rw-r--r--linux/hppa/set_scno.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/hppa/set_scno.c b/linux/hppa/set_scno.c
new file mode 100644
index 000000000..21321a026
--- /dev/null
+++ b/linux/hppa/set_scno.c
@@ -0,0 +1,5 @@
+static int
+arch_set_scno(struct tcb *tcp, long scno)
+{
+ return upoke(tcp->pid, PT_GR20, scno);
+}