]> www.infradead.org Git - users/jedix/linux-maple.git/commit
memblock test: add the definition of __setup()
authorWei Yang <richard.weiyang@gmail.com>
Tue, 6 Aug 2024 01:03:16 +0000 (01:03 +0000)
committerMike Rapoport (Microsoft) <rppt@kernel.org>
Tue, 6 Aug 2024 05:21:25 +0000 (08:21 +0300)
commit9f76c2ade323121f9006f6a529e0795317e16b5c
treeb84d5a3ce4d1ede4662e03204bf3ef65e3993909
parent39f64e402f659890a99d415eaf63a01f3b80a9a8
memblock test: add the definition of __setup()

Commit 1e4c64b71c9b ("mm/memblock: Add "reserve_mem" to reserved named
memory at boot up") introduce usage of __setup(), which is not defined
in memblock test.

Define it in init.h to fix the build error.

Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Link: https://lore.kernel.org/r/20240806010319.29194-2-richard.weiyang@gmail.com
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
tools/include/linux/init.h