mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
16 lines
387 B
C
16 lines
387 B
C
![]() |
/* SPDX-License-Identifier: GPL-2.0 */
|
||
|
#ifndef __ASM_KASAN_H
|
||
|
#define __ASM_KASAN_H
|
||
|
|
||
|
#ifdef CONFIG_KASAN
|
||
|
#define _GLOBAL_KASAN(fn) _GLOBAL(__##fn)
|
||
|
#define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(__##fn)
|
||
|
#define EXPORT_SYMBOL_KASAN(fn) EXPORT_SYMBOL(__##fn)
|
||
|
#else
|
||
|
#define _GLOBAL_KASAN(fn) _GLOBAL(fn)
|
||
|
#define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(fn)
|
||
|
#define EXPORT_SYMBOL_KASAN(fn)
|
||
|
#endif
|
||
|
|
||
|
#endif
|