kbuild: Fix instrumentation removal breakage on avr32
[wrt350n-kernel.git] / arch / um / include / registers.h
blob0e27406a43a4d24f311af678b10a71dbd51a6ffa
1 /*
2 * Copyright (C) 2004 PathScale, Inc
3 * Licensed under the GPL
4 */
6 #ifndef __REGISTERS_H
7 #define __REGISTERS_H
9 #include "sysdep/ptrace.h"
10 #include "sysdep/archsetjmp.h"
12 extern void init_thread_registers(struct uml_pt_regs *to);
13 extern int save_fp_registers(int pid, unsigned long *fp_regs);
14 extern int restore_fp_registers(int pid, unsigned long *fp_regs);
15 extern int save_fpx_registers(int pid, unsigned long *fp_regs);
16 extern int restore_fpx_registers(int pid, unsigned long *fp_regs);
17 extern void save_registers(int pid, struct uml_pt_regs *regs);
18 extern void restore_registers(int pid, struct uml_pt_regs *regs);
19 extern void init_registers(int pid);
20 extern void get_safe_registers(unsigned long *regs);
21 extern unsigned long get_thread_reg(int reg, jmp_buf *buf);
23 #endif