linux-stable/include/acpi/platform
Suren Baghdasaryan 3b0ba54d5f mm: add comments for allocation helpers explaining why they are macros
A number of allocation helper functions were converted into macros to
account them at the call sites.  Add a comment for each converted
allocation helper explaining why it has to be a macro and why we typecast
the return value wherever required.  The patch also moves
acpi_os_acquire_object() closer to other allocation helpers to group them
together under the same comment.  The patch has no functional changes.

Link: https://lkml.kernel.org/r/20240703174225.3891393-1-surenb@google.com
Fixes: 2c321f3f70 ("mm: change inlined allocation helpers to account at the call site")
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Christian König <christian.koenig@amd.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Jan Kara <jack@suse.cz>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-07-12 15:52:20 -07:00
..
acenv.h ACPICA: add os specific support for Zephyr RTOS 2023-04-06 20:29:12 +02:00
acenvex.h ACPICA: Update all copyrights/signons to 2023 2023-04-06 20:29:11 +02:00
acgcc.h ACPICA: Introduce ACPI_FLEX_ARRAY 2023-04-06 20:29:12 +02:00
acgccex.h ACPICA: Update all copyrights/signons to 2023 2023-04-06 20:29:11 +02:00
aclinux.h ACPICA: Fix GCC 12 dangling-pointer warning 2023-07-10 15:21:03 +02:00
aclinuxex.h mm: add comments for allocation helpers explaining why they are macros 2024-07-12 15:52:20 -07:00
aczephyr.h ACPICA: fix for conflict macro definition on zephyr interface 2023-07-10 15:21:04 +02:00