Applied, thanks!

Milos Nikic, le ven. 20 juin 2025 22:23:43 +0100, a ecrit:
> ---
>  i386/i386/ktss.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/i386/i386/ktss.c b/i386/i386/ktss.c
> index 34cb6df2..1f61d3d6 100644
> --- a/i386/i386/ktss.c
> +++ b/i386/i386/ktss.c
> @@ -40,13 +40,16 @@
>  /* A kernel TSS with a complete I/O bitmap.  */
>  struct task_tss ktss;
>  
> -void
> +static void
>  ktss_fill(struct task_tss *myktss, struct real_descriptor *mygdt)
>  {
>       /* XXX temporary exception stacks */
>       /* FIXME: make it per-processor */
>       static int exception_stack[1024];
> +     /* only used on 64-bit builds */
> +#ifdef __x86_64__
>       static int double_fault_stack[1024];
> +#endif /* __x86_64__ */
>  
>  #ifdef       MACH_RING1
>       /* Xen won't allow us to do any I/O by default anyway, just register
> -- 
> 2.40.1
> 
> 

-- 
Samuel
How do I type "for i in *.dvi do xdvi i done" in a GUI?
(Discussion in comp.os.linux.misc on the intuitiveness of interfaces.)

Reply via email to