Skip to content

Commit 6d41bd8

Browse files
JamieCunliffefbq
authored andcommitted
arm64: Restrict Rust support to little endian only.
Signed-off-by: Jamie Cunliffe <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 9460218 commit 6d41bd8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/rust/arch-support.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ support corresponds to ``S`` values in the ``MAINTAINERS`` file.
1515
============ ================ ==============================================
1616
Architecture Level of support Constraints
1717
============ ================ ==============================================
18-
``arm64`` Maintained None.
18+
``arm64`` Maintained Little Endian only.
1919
``um`` Maintained ``x86_64`` only.
2020
``x86`` Maintained ``x86_64`` only.
2121
============ ================ ==============================================

arch/arm64/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ config ARM64
227227
select HAVE_FUNCTION_ARG_ACCESS_API
228228
select MMU_GATHER_RCU_TABLE_FREE
229229
select HAVE_RSEQ
230-
select HAVE_RUST
230+
select HAVE_RUST if CPU_LITTLE_ENDIAN
231231
select HAVE_STACKPROTECTOR
232232
select HAVE_SYSCALL_TRACEPOINTS
233233
select HAVE_KPROBES

0 commit comments

Comments
 (0)