public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 20/24] s390: preempt_count initialization.
@ 2006-06-14 14:06 Martin Schwidefsky
  0 siblings, 0 replies; only message in thread
From: Martin Schwidefsky @ 2006-06-14 14:06 UTC (permalink / raw)
  To: linux-kernel, heiko.carstens

From: Heiko Carstens <heiko.carstens@de.ibm.com>

[S390] preempt_count initialization.

The preempt_count in the thread_info structure must be initialized to 1.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
---

 include/asm-s390/thread_info.h |    1 +
 1 files changed, 1 insertion(+)

diff -urpN linux-2.6/include/asm-s390/thread_info.h linux-2.6-patched/include/asm-s390/thread_info.h
--- linux-2.6/include/asm-s390/thread_info.h	2006-03-20 06:53:29.000000000 +0100
+++ linux-2.6-patched/include/asm-s390/thread_info.h	2006-06-14 14:29:59.000000000 +0200
@@ -63,6 +63,7 @@ struct thread_info {
 	.exec_domain	= &default_exec_domain,	\
 	.flags		= 0,			\
 	.cpu		= 0,			\
+	.preempt_count	= 1,			\
 	.restart_block	= {			\
 		.fn = do_no_restart_syscall,	\
 	},					\

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-14 14:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-14 14:06 [patch 20/24] s390: preempt_count initialization Martin Schwidefsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox