summaryrefslogtreecommitdiffstats
path: root/Documentation/ramoops.txt
diff options
context:
space:
mode:
authorAnton Vorontsov2012-05-16 14:43:19 +0200
committerGreg Kroah-Hartman2012-05-16 15:18:32 +0200
commit7dd8e9be9dba1dc5f0dfec67e37076b9c56a97d7 (patch)
tree3ef8e0f1ba899d77ed3a7196b2765be971bc8e53 /Documentation/ramoops.txt
parentstaging: android: persistent_ram: Remove never used struct persistent_ram_zon... (diff)
downloadkernel-qcow2-linux-7dd8e9be9dba1dc5f0dfec67e37076b9c56a97d7.tar.gz
kernel-qcow2-linux-7dd8e9be9dba1dc5f0dfec67e37076b9c56a97d7.tar.xz
kernel-qcow2-linux-7dd8e9be9dba1dc5f0dfec67e37076b9c56a97d7.zip
staging: android: persistent_ram: Prepare for modular builds
This is a transition patch to keep things bisectable, just moves some routines under '#ifndef MODULE'. The code inside the #ifndef will go away soon, but so far we must support pstore and ram_console. So, we are about to use persistent_ram with pstore, with the ability to compile persistent_ram routines as modules. Some parts of persistent_ram uses memblock_reserve() routine, which is should be only used built-in code, and thus it is not exported. These persistent_ram bits are only used by Android's ram_console, which is always built-in. Without this patch, we won't able to compile persistent_ram as a module: ERROR: "memblock_reserve" [fs/pstore/ramoops.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 (As alternative, we could export memblock_reserve, but the thing is: we won't need it later.) Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ramoops.txt')
0 files changed, 0 insertions, 0 deletions