Thread (64 messages) 64 messages, 14 authors, 2018-04-02

Re: [PATCH 01/16] initrd: Add generic code path for common initrd unloading logic.

From: Christoph Hellwig <hch@infradead.org>
Date: 2018-03-28 12:04:45
Also in: linux-riscv, linux-sh, linux-um, linuxppc-dev, lkml

+#ifdef CONFIG_INITRAMFS_GENERIC_UNLOAD
+void free_initrd_mem(unsigned long start, unsigned long end)
+{
+       free_reserved_area((void *)start, (void *)end, -1, "initrd");
+}
+#endif
Given how trivial this is and how many architectures can use it I'd
reverse the polarity and add a CONFIG_HAVE_ARCH_FREE_INITRD_MEM
instead.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help