diff options
| author | Ben Dooks <ben.dooks@codethink.co.uk> | 2025-10-24 18:16:40 +0100 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2025-10-27 18:58:37 -0600 |
| commit | 44aa25c000b41d7afcb030ac1b8a38f06dabef0a (patch) | |
| tree | bc895131b307da0028e198b0968638caa55cb4c4 /net/unix/af_unix.c | |
| parent | 5fada1605733a427feff45147cef9455ce29620f (diff) | |
riscv: asm: use .insn for making custom instructions
The assembler has .insn for building custom instructions
now, so change the .4byte to .insn. This ensures the output
is marked as an instruction and not as data which may
confuse both debuggers and anything else that relies on
this sort of marking.
Add an ASM_INSN_I() wrapper in asm.h to allow the selecting
of how this is output so older assemblers are still good.
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Link: https://lore.kernel.org/r/20251024171640.65232-1-ben.dooks@codethink.co.uk
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
