Michael Ellerman [off-list ref] writes:
Nathan Lynch via B4 Submission Endpoint
[off-list ref] writes:
quoted
From: Nathan Lynch <redacted>
The core RTAS support code and its clients perform two types of lookup
for RTAS firmware function information.
...
quoted
diff --git a/arch/powerpc/include/asm/rtas.h b/arch/powerpc/include/asm/rtas.h
index 479a95cb2770..14fe79217c26 100644
--- a/arch/powerpc/include/asm/rtas.h
+++ b/arch/powerpc/include/asm/rtas.h
@@ -16,6 +16,93 @@
* Copyright (C) 2001 PPC 64 Team, IBM Corp
*/
+#define rtas_fnidx(x_) RTAS_FNIDX__ ## x_
I'd prefer we just spelt it out in full, to aid grepability and
cscope/tags etc.
OK.