2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-24 02:47:32 +00:00
criu/compel/include/compel-cpu.h
Cyrill Gorcunov 888514aee0 compel: fpu -- Add compel_test_fpu_cap helper
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2018-10-30 19:27:55 +03:00

13 lines
416 B
C

#ifndef __COMPEL_CPU_H__
#define __COMPEL_CPU_H__
#include <compel/cpu.h>
#include "asm/cpu.h"
extern void compel_set_cpu_cap(compel_cpuinfo_t *info, unsigned int feature);
extern void compel_clear_cpu_cap(compel_cpuinfo_t *info, unsigned int feature);
extern int compel_test_cpu_cap(compel_cpuinfo_t *info, unsigned int feature);
extern int compel_test_fpu_cap(compel_cpuinfo_t *c, unsigned int feature);
#endif