18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * arch/arm/include/asm/glue.h 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 1997-1999 Russell King 68c2ecf20Sopenharmony_ci * Copyright (C) 2000-2002 Deep Blue Solutions Ltd. 78c2ecf20Sopenharmony_ci * 88c2ecf20Sopenharmony_ci * This file provides the glue to stick the processor-specific bits 98c2ecf20Sopenharmony_ci * into the kernel in an efficient manner. The idea is to use branches 108c2ecf20Sopenharmony_ci * when we're only targeting one class of TLB, or indirect calls 118c2ecf20Sopenharmony_ci * when we're targeting multiple classes of TLBs. 128c2ecf20Sopenharmony_ci */ 138c2ecf20Sopenharmony_ci#ifdef __KERNEL__ 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#ifdef __STDC__ 168c2ecf20Sopenharmony_ci#define ____glue(name,fn) name##fn 178c2ecf20Sopenharmony_ci#else 188c2ecf20Sopenharmony_ci#define ____glue(name,fn) name/**/fn 198c2ecf20Sopenharmony_ci#endif 208c2ecf20Sopenharmony_ci#define __glue(name,fn) ____glue(name,fn) 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci#endif 23