diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2026-02-06 15:30:50 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2026-02-06 15:30:50 +0000 |
| commit | e9a697bf20ccbb2a19f6ad01fa3e0c14e0390847 (patch) | |
| tree | a996e291a47fe65505ba4674494cc1ef9b08c3a3 /sys/riscv | |
| parent | 06fd19b5349a1ff27ef338619fdade596986fc2f (diff) | |
Diffstat (limited to 'sys/riscv')
| -rw-r--r-- | sys/riscv/include/param.h | 1 | ||||
| -rw-r--r-- | sys/riscv/riscv/exec_machdep.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/riscv/include/param.h b/sys/riscv/include/param.h index 471d8b354b82..e1cf50df7d14 100644 --- a/sys/riscv/include/param.h +++ b/sys/riscv/include/param.h @@ -37,7 +37,6 @@ #include <sys/_align.h> #define STACKALIGNBYTES (16 - 1) -#define STACKALIGN(p) ((uint64_t)(p) & ~STACKALIGNBYTES) #ifndef MACHINE #define MACHINE "riscv" diff --git a/sys/riscv/riscv/exec_machdep.c b/sys/riscv/riscv/exec_machdep.c index b1f96b1426a7..4e0d1f2a7e5c 100644 --- a/sys/riscv/riscv/exec_machdep.c +++ b/sys/riscv/riscv/exec_machdep.c @@ -370,7 +370,7 @@ sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask) /* Make room, keeping the stack aligned */ fp--; - fp = (struct sigframe *)STACKALIGN(fp); + fp = STACKALIGN(fp); /* Fill in the frame to copy out */ bzero(&frame, sizeof(frame)); |
