diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-07-10 18:04:30 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-09-26 15:26:46 -0700 |
commit | 7db91e57a0acde126a162ababfb1e0ab190130cb (patch) | |
tree | 1bbfd887d30e00b25318389256fdcb722b1b4785 /arch/riscv/include/asm/kprobes.h | |
parent | 2129a235c098960c57d4b6ef23be842a98d97ac9 (diff) |
RISC-V: Task implementation
This patch contains the implementation of tasks on RISC-V, most of which
is involved in task switching.
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
Diffstat (limited to 'arch/riscv/include/asm/kprobes.h')
-rw-r--r-- | arch/riscv/include/asm/kprobes.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/kprobes.h b/arch/riscv/include/asm/kprobes.h new file mode 100644 index 000000000000..c7eb010d1528 --- /dev/null +++ b/arch/riscv/include/asm/kprobes.h @@ -0,0 +1,22 @@ +/* + * Copied from arch/arm64/include/asm/kprobes.h + * + * Copyright (C) 2013 Linaro Limited + * Copyright (C) 2017 SiFive + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + */ + +#ifndef _RISCV_KPROBES_H +#define _RISCV_KPROBES_H + +#include <asm-generic/kprobes.h> + +#endif /* _RISCV_KPROBES_H */ |