riscv: Remove asm/byteorder.h

With the common code moved fully onto xen/byteorder.h, clean up the dregs.

The use of byteorder.h in io.h appears to have been copy&paste from ARM.  It's
not needed, but macros and types are.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
This commit is contained in:
Andrew Cooper committed 2025-04-18 15:16:12 +01:00
1 parent acec467875
commit 7aed4daa38
2 files changed
+2 -15

No files matched your search

-14
View File
@@ -1,14 +0,0 @@
#ifndef ASM__RISCV__BYTEORDER_H
#define ASM__RISCV__BYTEORDER_H
#include <xen/byteorder.h>
#endif /* ASM__RISCV__BYTEORDER_H */
/*
* Local variables:
* mode: C
* c-file-style: "BSD"
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/
+2 -1
View File
@@ -38,7 +38,8 @@
#ifndef ASM__RISCV__IO_H
#define ASM__RISCV__IO_H
#include <asm/byteorder.h>
#include <xen/macros.h>
#include <xen/types.h>
/*
* The RISC-V ISA doesn't yet specify how to query or modify PMAs, so we can't
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.