kernel: fix section mismatch in crashlog
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.18 / 930-crashlog.patch
index b1c38a70f26028b44e0cc1e95d90bc9edf6f449c..6615db5466d6dfc7a09eab4b7bab138dc7ce814a 100644 (file)
 +#endif
 +
 +#ifdef CONFIG_HAVE_MEMBLOCK
-+void __meminit crashlog_init_memblock(phys_addr_t addr, phys_addr_t size)
++void __init_memblock crashlog_init_memblock(phys_addr_t addr, phys_addr_t size)
 +{
 +      if (crashlog_addr)
 +              return;