[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Latest kernel don't boot with 4KSTACKS not set



I get a malformed patch error on the line:

#define ARCH_MIN_TASKALIGN      16


Also, when you say after the 4g4g.patch, do you mean after reversing that
patch?

-Quasar

On Mon, 10 May 2004, Mike McEwan wrote:

> Found the problem. It would appear that the '4g4g.patch' has also had some
> CONFIG_4KSTACKS stuff removed recently. I applied the following and
> everything is fine once more.
>
> Make sure it's applied *after* the '4g4g.patch':
>
> --- include/asm-i386/processor.h.orig	2004-05-09 23:50:05.000000000 +0100
> +++ include/asm-i386/processor.h	2004-05-10 23:27:37.835866624 +0100
> @@ -408,11 +408,11 @@
>
> #define ARCH_MIN_TASKALIGN	16
>
> -
> +#ifdef CONFIG_4KSTACKS
> #define STACK_PAGE_COUNT	(4096/PAGE_SIZE)
> -
> -
> -
> +#else
> +#define STACK_PAGE_COUNT	(8192/PAGE_SIZE)	/* THREAD_SIZE/PAGE_SIZE */
> +#endif
>
> struct thread_struct {
> /* cached TLS descriptors. */
>
> --
> Mike.
>
> _________________________________________________________________
> It's fast, it's easy and it's free. Get MSN Messenger today!
> http://www.msn.co.uk/messenger
>
>
> --
> fedora-test-list mailing list
> fedora-test-list redhat com
> To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-test-list
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]