mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
memblock: small fixes in kernel-doc and tests
* Fix kernel-doc for memblock_phys_free() to use correct names for the counterpart allocation methods * Fix compilation error in memblock tests -----BEGIN PGP SIGNATURE----- iQFMBAABCAA2FiEEeOVYVaWZL5900a/pOQOGJssO/ZEFAmO6bMYYHG1pa2UucmFw b3BvcnRAZ21haWwuY29tAAoJEDkDhibLDv2RUt8H/Ayh8cO8kpKbJ2jH9eFwba6T JPOv5P3hjKHbY+NMGG9MfAUTMw6Lxa59EiC+xGyPFWrtt/ZpKgaaBznxSC7dkVYy XarzK3zulZmL4BdjBQearXXj5gSkZnuEHb9Pjs19GLDnGoRJczoHYG6rXlAWh1sg w4H4g4QyHKYqqUlnbDi0GTIaaKY76Uprw6x6w8xwtmdUw9+1edqnoN9fRJxY9AwM 7ez7FR6rJ5g7AgcLfa/dTaCZgloLPKVdMI+q29lBXM5xDrUpxeEfXg5iU7Hax+rT 4o43HXGVGyiuWYlgdWd9B18M4Xma55K1Q+cQ3cELsAvq7XACvQcA6xi0QnFfgpU= =DNKq -----END PGP SIGNATURE----- Merge tag 'fixes-2023-01-08' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock Pull memblock fixes from Mike Rapoport: "Small fixes in kernel-doc and tests: - Fix kernel-doc for memblock_phys_free() to use correct names for the counterpart allocation methods - Fix compilation error in memblock tests" * tag 'fixes-2023-01-08' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock: memblock: Fix doc for memblock_phys_free memblock tests: Fix compilation error.
This commit is contained in:
commit
e9ffbf16ca
@ -836,7 +836,7 @@ void __init_memblock memblock_free(void *ptr, size_t size)
|
||||
* @base: phys starting address of the boot memory block
|
||||
* @size: size of the boot memory block in bytes
|
||||
*
|
||||
* Free boot memory block previously allocated by memblock_alloc_xx() API.
|
||||
* Free boot memory block previously allocated by memblock_phys_alloc_xx() API.
|
||||
* The freeing memory will not be released to the buddy allocator.
|
||||
*/
|
||||
int __init_memblock memblock_phys_free(phys_addr_t base, phys_addr_t size)
|
||||
|
1
tools/testing/memblock/.gitignore
vendored
1
tools/testing/memblock/.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
main
|
||||
memblock.c
|
||||
linux/memblock.h
|
||||
asm/asm.h
|
||||
asm/cmpxchg.h
|
||||
|
@ -29,13 +29,14 @@ include: ../../../include/linux/memblock.h ../../include/linux/*.h \
|
||||
|
||||
@mkdir -p linux
|
||||
test -L linux/memblock.h || ln -s ../../../../include/linux/memblock.h linux/memblock.h
|
||||
test -L asm/asm.h || ln -s ../../../arch/x86/include/asm/asm.h asm/asm.h
|
||||
test -L asm/cmpxchg.h || ln -s ../../../arch/x86/include/asm/cmpxchg.h asm/cmpxchg.h
|
||||
|
||||
memblock.c: $(EXTR_SRC)
|
||||
test -L memblock.c || ln -s $(EXTR_SRC) memblock.c
|
||||
|
||||
clean:
|
||||
$(RM) $(TARGETS) $(OFILES) linux/memblock.h memblock.c asm/cmpxchg.h
|
||||
$(RM) $(TARGETS) $(OFILES) linux/memblock.h memblock.c asm/asm.h asm/cmpxchg.h
|
||||
|
||||
help:
|
||||
@echo 'Memblock simulator'
|
||||
|
Loading…
Reference in New Issue
Block a user