]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/contrib/openzfs/include/sys/frame.h
OpenZFS: MFV 2.0-rc3-gfc5966
[FreeBSD/FreeBSD.git] / sys / contrib / openzfs / include / sys / frame.h
1 /*
2  * CDDL HEADER START
3  *
4  * This file and its contents are supplied under the terms of the
5  * Common Development and Distribution License ("CDDL"), version 1.0.
6  * You may only use this file in accordance with the terms of version
7  * 1.0 of the CDDL.
8  *
9  * A full copy of the text of the CDDL should have accompanied this
10  * source.  A copy of the CDDL is also available via the Internet at
11  * http://www.illumos.org/license/CDDL.
12  *
13  * CDDL HEADER END
14  */
15 /*
16  * Copyright (C) 2017 by Lawrence Livermore National Security, LLC.
17  */
18
19 #ifndef _SYS_FRAME_H
20 #define _SYS_FRAME_H
21
22 #ifdef  __cplusplus
23 extern "C" {
24 #endif
25
26 #if defined(__KERNEL__) && defined(HAVE_KERNEL_OBJTOOL) && \
27     defined(HAVE_STACK_FRAME_NON_STANDARD)
28 #include <linux/frame.h>
29 #else
30 #define STACK_FRAME_NON_STANDARD(func)
31 #endif
32
33 #ifdef  __cplusplus
34 }
35 #endif
36
37 #endif  /* _SYS_FRAME_H */