lkml.org 
[lkml]   [2004]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] make inflate work with gcc3.5 and 4k stacks
Matt Mackall <mpm@selenic.com> wrote:
>
> Quick fix to work around gcc3.5's automatic inline and broken stack
> requirements calculation. Without this, I see stack overflows at boot
> with 4k stacks.
>
> gcc3.5 - fix inflate inlining
>
> -STATIC int inflate_fixed(void)
> +STATIC int noinline inflate_fixed(void)

Thanks. I added appropriate comments to this, as one should always do when
adding otherwise-utterly-mystifying code.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.030 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site