@@ -11,6 +11,7 @@
#include <linux/of.h>
#include <linux/memblock.h>
#include <linux/libfdt.h>
+#include <asm/ima.h>
static int get_addr_size_cells(int *addr_cells, int *size_cells)
{
@@ -103,6 +104,9 @@ int ima_free_kexec_buffer(void)
/**
* remove_ima_buffer - remove the IMA buffer property and reservation from @fdt
*
+ * @fdt: Flattened Device Tree to update
+ * @chosen_node: Offset to the chosen node in the device tree
+ *
* The IMA measurement buffer is of no use to a subsequent kernel, so we always
* remove it from the device tree.
*/
@@ -131,6 +135,10 @@ void remove_ima_buffer(void *fdt, int chosen_node)
/**
* arch_ima_add_kexec_buffer - do arch-specific steps to add the IMA buffer
*
+ * @image: kimage struct to set IMA buffer data
+ * @load_addr: Starting address where IMA buffer is loaded at
+ * @size: Number of bytes in the IMA buffer
+ *
* Architectures should use this function to pass on the IMA buffer
* information to the next kernel.
*