File Index
Files and directories
Sign in
FILE

multi-die-cpp.h

File preview with syntax highlighting.

linux-6.19.14/arch/arm64/boot/dts/apple/multi-die-cpp.h C
 1/* SPDX-License-Identifier: GPL-2.0+ OR MIT
 2 *
 3 * C preprocessor macros for t600x multi die support.
 4 */
 5
 6#ifndef __DTS_APPLE_MULTI_DIE_CPP_H
 7#define __DTS_APPLE_MULTI_DIE_CPP_H
 8
 9#ifndef __stringify
10#define __stringify_1(x...)     #x
11#define __stringify(x...)       __stringify_1(x)
12#endif
13
14#ifndef __concat
15#define __concat_1(x, y...)     x ## y
16#define __concat(x, y...)       __concat_1(x, y)
17#endif
18
19#define DIE_NODE(a) __concat(a, DIE)
20#define DIE_LABEL(a) __stringify(__concat(a, DIE))
21
22#endif /* !__DTS_APPLE_MULTI_DIE_CPP_H */
~/ Read-only file preview.