xref: /qemu/linux-headers/asm-riscv/unistd.h (revision ee057a9f2976e1fb2f58e07e86b410f38bf04ac6)
1ef17dd6aSVivek Goyal /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2ef17dd6aSVivek Goyal /*
3ef17dd6aSVivek Goyal  * Copyright (C) 2018 David Abdurachmanov <david.abdurachmanov@gmail.com>
4ef17dd6aSVivek Goyal  *
5ef17dd6aSVivek Goyal  * This program is free software; you can redistribute it and/or modify
6ef17dd6aSVivek Goyal  * it under the terms of the GNU General Public License version 2 as
7ef17dd6aSVivek Goyal  * published by the Free Software Foundation.
8ef17dd6aSVivek Goyal  *
9ef17dd6aSVivek Goyal  * This program is distributed in the hope that it will be useful,
10ef17dd6aSVivek Goyal  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11ef17dd6aSVivek Goyal  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12ef17dd6aSVivek Goyal  * GNU General Public License for more details.
13ef17dd6aSVivek Goyal  *
14ef17dd6aSVivek Goyal  * You should have received a copy of the GNU General Public License
15ef17dd6aSVivek Goyal  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
16ef17dd6aSVivek Goyal  */
17*0d2eeef7SBibo Mao #include <asm/bitsperlong.h>
18ef17dd6aSVivek Goyal 
19*0d2eeef7SBibo Mao #if __BITS_PER_LONG == 64
20*0d2eeef7SBibo Mao #include <asm/unistd_64.h>
21*0d2eeef7SBibo Mao #else
22*0d2eeef7SBibo Mao #include <asm/unistd_32.h>
23ef17dd6aSVivek Goyal #endif
24