mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
534 B
24 lines
534 B
/* SPDX-License-Identifier: GPL-2.0 */ |
|
#ifndef _ASM_X86_LINKAGE_H |
|
#define _ASM_X86_LINKAGE_H |
|
|
|
#include <linux/stringify.h> |
|
|
|
#undef notrace |
|
#define notrace __attribute__((no_instrument_function)) |
|
|
|
#ifdef CONFIG_X86_32 |
|
#define asmlinkage CPP_ASMLINKAGE __attribute__((regparm(0))) |
|
#endif /* CONFIG_X86_32 */ |
|
|
|
#ifdef __ASSEMBLY__ |
|
|
|
#if defined(CONFIG_X86_64) || defined(CONFIG_X86_ALIGNMENT_16) |
|
#define __ALIGN .p2align 4, 0x90 |
|
#define __ALIGN_STR __stringify(__ALIGN) |
|
#endif |
|
|
|
#endif /* __ASSEMBLY__ */ |
|
|
|
#endif /* _ASM_X86_LINKAGE_H */ |
|
|
|
|