blob: 377fd4cfab0160da69ae680e2642fc00c6e89911 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
Russell King4baa9922008-08-02 10:55:55 +01003 * arch/arm/include/asm/glue.h
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 *
5 * Copyright (C) 1997-1999 Russell King
6 * Copyright (C) 2000-2002 Deep Blue Solutions Ltd.
7 *
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 * This file provides the glue to stick the processor-specific bits
9 * into the kernel in an efficient manner. The idea is to use branches
Lucas De Marchi25985ed2011-03-30 22:57:33 -030010 * when we're only targeting one class of TLB, or indirect calls
11 * when we're targeting multiple classes of TLBs.
Linus Torvalds1da177e2005-04-16 15:20:36 -070012 */
13#ifdef __KERNEL__
14
Linus Torvalds1da177e2005-04-16 15:20:36 -070015#ifdef __STDC__
16#define ____glue(name,fn) name##fn
17#else
18#define ____glue(name,fn) name/**/fn
19#endif
20#define __glue(name,fn) ____glue(name,fn)
21
Linus Torvalds1da177e2005-04-16 15:20:36 -070022#endif