History

ACPI: implement acpi_handle_debug in terms of _dynamic_func_call

With coming changes on x86-64, all dynamic debug descriptors in a translation unit must have distinct names. The macro _dynamic_func_call takes care of that. No functional change.

Rasmus Villemoes committed 7 years ago

Commit f1ebe041 parent 902f99a1 file · +2 −6Browse files

Unified · Split

include/linux/acpi.h+2−6
@@ -982,12 +982,8 @@ void __acpi_handle_debug(struct _ddebug *descriptor, acpi_handle handle, const c · 981 unmodified lines
982982 #else
983983 #if defined(CONFIG_DYNAMIC_DEBUG)
984984 #define acpi_handle_debug(handle, fmt, ...) \
985−do { \
986− DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
987− if (DYNAMIC_DEBUG_BRANCH(descriptor)) \
988− __acpi_handle_debug(&descriptor, handle, pr_fmt(fmt), \
989− ##__VA_ARGS__); \
990−} while (0)
985+ _dynamic_func_call(fmt, __acpi_handle_debug, \
986+ handle, pr_fmt(fmt), ##__VA_ARGS__)
991987 #else
992988 #define acpi_handle_debug(handle, fmt, ...) \
993989 ({ \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t