On Fri, Oct 25, 2002 at 01:29:23PM +0200, Jan Marek wrote:
> > >
> > > unsigned int status;
> > > - long esp;
> > >
> > > irq_enter();
> > >
> > > #ifdef CONFIG_DEBUG_STACKOVERFLOW
> > > /* Debugging check for stack overflow: is there less than 1KB free? */
> > > + long esp;
> > >
> > > Most C compilers don't allow you to mix declarations and code.
> > > This is allowed only in new C standards. But GCC 3 seems to cope,
> > > so it's probably fine for new kernels.
> >
> > This fragment must be fixed, look at Documentation/Changes:
> gcc-2.95.4-17 on my Debian works fine on that and without any
> messages... You can try it, if you have other version of compiler...
Try testing with CONFIG_DEBUG_STACKOVERFLOW=y
Dave
-- | Dave Jones. http://www.codemonkey.org.uk - 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/
This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:27 EST