David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * arch/arm/include/asm/glue.h |
| 4 | * |
| 5 | * Copyright (C) 1997-1999 Russell King |
| 6 | * Copyright (C) 2000-2002 Deep Blue Solutions Ltd. |
| 7 | * |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 8 | * 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 |
| 10 | * when we're only targeting one class of TLB, or indirect calls |
| 11 | * when we're targeting multiple classes of TLBs. |
| 12 | */ |
| 13 | #ifdef __KERNEL__ |
| 14 | |
| 15 | #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 | |
| 22 | #endif |