mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-29 20:30:35 +00:00
![Geliang Tang](/assets/img/avatar_default.png)
pstore doesn't support unregistering yet. It was marked as TODO. This patch adds some code to fix it: 1) Add functions to unregister kmsg/console/ftrace/pmsg. 2) Add a function to free compression buffer. 3) Unmap the memory and free it. 4) Add a function to unregister pstore filesystem. Signed-off-by: Geliang Tang <geliangtang@163.com> Acked-by: Kees Cook <keescook@chromium.org> [Removed __exit annotation from ramoops_remove(). Reported by Arnd Bergmann] Signed-off-by: Tony Luck <tony.luck@intel.com>
13 lines
272 B
Makefile
13 lines
272 B
Makefile
#
|
|
# Makefile for the linux pstorefs routines.
|
|
#
|
|
|
|
obj-$(CONFIG_PSTORE) += pstore.o
|
|
|
|
pstore-objs += inode.o platform.o
|
|
pstore-$(CONFIG_PSTORE_FTRACE) += ftrace.o
|
|
|
|
pstore-$(CONFIG_PSTORE_PMSG) += pmsg.o
|
|
|
|
ramoops-objs += ram.o ram_core.o
|
|
obj-$(CONFIG_PSTORE_RAM) += ramoops.o
|