]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/chrp: Use the same RTAS daemon as pSeries
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 24 Sep 2009 19:30:05 +0000 (19:30 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 30 Oct 2009 06:20:53 +0000 (17:20 +1100)
commit070fb24fc1b0c2cb04ea63f15d91a84ef5c5c789
tree37ea005412feedefe836afd0752051b0c93f4f71
parent282594cb627c9c24feab7ca0fa126de3362b2654
powerpc/chrp: Use the same RTAS daemon as pSeries

The CHRP code has some fishy timer based code to scan the RTAS event
log, which uses a 1KB stack buffer and doesn't even use the results.

The pSeries code as a nicer daemon that allows userspace to read the
event log and basically uses the same RTAS interface

This patch moves rtasd.c out of platform/pseries and makes it usable
by CHRP, after removing the old crufty event log mechanism in there.

The nvram logging part of the daemon is still only available on 64-bit
since the underlying nvram management routines aren't currently shared.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/rtasd.c [new file with mode: 0644]
arch/powerpc/platforms/Kconfig
arch/powerpc/platforms/chrp/Kconfig
arch/powerpc/platforms/chrp/setup.c
arch/powerpc/platforms/pseries/Kconfig
arch/powerpc/platforms/pseries/Makefile
arch/powerpc/platforms/pseries/rtasd.c [deleted file]