diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-04-30 08:54:16 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-04-30 08:54:16 +0000 |
commit | 1ab803e010b1ddb6aad9c6cef33b73761d2912ca (patch) | |
tree | 68472e356205c7df070d8ca3b8ecfdcd8afe73c8 /sys/arch/riscv64/include/cpu.h | |
parent | 4e420a0e5ee29d169f39bfeac39dec2fc94025f6 (diff) |
reduce diff to current arm64
ok mlarkin@
Diffstat (limited to 'sys/arch/riscv64/include/cpu.h')
-rw-r--r-- | sys/arch/riscv64/include/cpu.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/riscv64/include/cpu.h b/sys/arch/riscv64/include/cpu.h index 330a0a92555..cdcfe692f0f 100644 --- a/sys/arch/riscv64/include/cpu.h +++ b/sys/arch/riscv64/include/cpu.h @@ -23,10 +23,12 @@ */ /* CTL_MACHDEP definitions. */ -/* None for now */ -#define CPU_MAXID 0 /* number of valid machdep ids */ +#define CPU_COMPATIBLE 1 /* compatible property */ +#define CPU_MAXID 2 /* number of valid machdep ids */ #define CTL_MACHDEP_NAMES { \ + { 0, 0 }, \ + { "compatible", CTLTYPE_STRING }, \ } #ifdef _KERNEL |