summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-05-14 07:46:33 -0600
committerTom Rini <[email protected]>2024-05-14 07:46:33 -0600
commite7992828adcd5fad75bce9e6c41dfa9277ab93b0 (patch)
treedcb6356b6af294979f388c78c6821a63c91d3275 /cmd
parentc67199962b2a819a4b0ae8d57dc68b7cadee0c9e (diff)
parent42826664e4452304bdadc909d7c5f791d4abc552 (diff)
Merge branch '2024-05-13-assorted-updates' into next
- A few zfs fixes, ARMv8 timer cleanups, support more algorithms with the nuvoton crypto driver, virtio + env in filesystem fix, K3 code cleanup and warning fix in gen_compile_commands.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/sandbox/exception.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/sandbox/exception.c b/cmd/sandbox/exception.c
index cfa153da260..f9c847d8ff2 100644
--- a/cmd/sandbox/exception.c
+++ b/cmd/sandbox/exception.c
@@ -19,7 +19,11 @@ static int do_sigsegv(struct cmd_tbl *cmdtp, int flag, int argc,
static int do_undefined(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])
{
+#ifdef __powerpc__
+ asm volatile (".long 0xffffffff\n");
+#else
asm volatile (".word 0xffff\n");
+#endif
return CMD_RET_FAILURE;
}