kernel-hacking-2024-linux-s.../arch/s390
Heiko Carstens 0c88ee5b75 [S390] Initialize __LC_THREAD_INFO early.
"lockdep: Fix backtraces" reveales a bug in early setup code: when
lockdep tries to save a stack backtrace before setup_arch has been
called the lowcore pointer for the current thread info pointer isn't
initialized yet.
However our save stack backtrace code relies on it. If the pointer
isn't initialized the saved backtrace will have zero entries.
lockdep however relies (correctly) on the fact that that cannot
happen.
A write access to some random memory region is the result.

Fix this by initializing the thread info pointer early.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-09-11 10:29:53 +02:00
..
appldata [S390] pm: appldata power management callbacks 2009-06-16 10:31:15 +02:00
boot
crypto Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 2009-03-26 16:04:22 -07:00
hypfs [S390] hypfs: Use "%u" instead of "%d" for unsigned ints in snprintf 2009-09-11 10:29:51 +02:00
include/asm [S390] fix recursive locking on page_table_lock 2009-09-11 10:29:53 +02:00
kernel [S390] Initialize __LC_THREAD_INFO early. 2009-09-11 10:29:53 +02:00
kvm Merge branch 'kvm-updates/2.6.31' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2009-08-09 14:58:21 -07:00
lib [S390] add __ucmpdi2() helper function 2009-07-07 16:37:53 +02:00
math-emu
mm [S390] fix recursive locking on page_table_lock 2009-09-11 10:29:53 +02:00
oprofile
defconfig [S390] Update default configuration. 2009-06-22 12:08:25 +02:00
Kconfig [S390] atomic ops: add effecient atomic64 support for 31 bit 2009-09-11 10:29:43 +02:00
Kconfig.debug generic debug pagealloc: build fix 2009-04-02 19:04:48 -07:00
Makefile [S390] hibernation: merge files and move to kernel/ 2009-09-11 10:29:45 +02:00