Applied, thanks!
Damien Zammit, le mer. 21 janv. 2026 21:44:19 +0000, a ecrit:
> Fixes compilation on gcc-10.
>
> ---
> i386/i386/pcb.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/i386/i386/pcb.c b/i386/i386/pcb.c
> index e4ac2bb9..7573322a 100644
> --- a/i386/i386/pcb.c
> +++ b/i386/i386/pcb.c
> @@ -742,6 +742,7 @@ kern_return_t thread_getstatus(
> {
> switch (flavor) {
> case THREAD_STATE_FLAVOR_LIST:
> + {
> #if !defined(__x86_64__) || defined(USER32)
> unsigned int ncount = 4;
> #else
> @@ -757,6 +758,7 @@ kern_return_t thread_getstatus(
> #endif
> *count = ncount;
> break;
> + }
>
> case i386_THREAD_STATE:
> case i386_REGS_SEGS_STATE:
> --
> 2.51.0
>
>
>
--
Samuel
RK > Some "PC speakers" are actually buzzers in some cases rather than
RK > real loudspeakers which give a squark rather than a beep.
DW They're not _that_ bad. Even on most recent hardware, mp3s played
DW through the PC speaker are relatively recognisable :)
-+- lkml -+-