diff options
Diffstat (limited to 'arch/arm64/include/uapi/asm')
-rw-r--r-- | arch/arm64/include/uapi/asm/Kbuild | 14 | ||||
-rw-r--r-- | arch/arm64/include/uapi/asm/auxvec.h | 22 | ||||
-rw-r--r-- | arch/arm64/include/uapi/asm/bitsperlong.h | 23 | ||||
-rw-r--r-- | arch/arm64/include/uapi/asm/byteorder.h | 21 | ||||
-rw-r--r-- | arch/arm64/include/uapi/asm/fcntl.h | 29 | ||||
-rw-r--r-- | arch/arm64/include/uapi/asm/hwcap.h | 26 | ||||
-rw-r--r-- | arch/arm64/include/uapi/asm/param.h | 23 | ||||
-rw-r--r-- | arch/arm64/include/uapi/asm/ptrace.h | 91 | ||||
-rw-r--r-- | arch/arm64/include/uapi/asm/setup.h | 26 | ||||
-rw-r--r-- | arch/arm64/include/uapi/asm/sigcontext.h | 57 | ||||
-rw-r--r-- | arch/arm64/include/uapi/asm/siginfo.h | 23 | ||||
-rw-r--r-- | arch/arm64/include/uapi/asm/signal.h | 24 | ||||
-rw-r--r-- | arch/arm64/include/uapi/asm/stat.h | 16 | ||||
-rw-r--r-- | arch/arm64/include/uapi/asm/statfs.h | 23 | ||||
-rw-r--r-- | arch/arm64/include/uapi/asm/unistd.h | 16 |
15 files changed, 434 insertions, 0 deletions
diff --git a/arch/arm64/include/uapi/asm/Kbuild b/arch/arm64/include/uapi/asm/Kbuild index baebb3da1d44..ca5b65f75c7b 100644 --- a/arch/arm64/include/uapi/asm/Kbuild +++ b/arch/arm64/include/uapi/asm/Kbuild | |||
@@ -1,3 +1,17 @@ | |||
1 | # UAPI Header export list | 1 | # UAPI Header export list |
2 | include include/uapi/asm-generic/Kbuild.asm | 2 | include include/uapi/asm-generic/Kbuild.asm |
3 | 3 | ||
4 | header-y += auxvec.h | ||
5 | header-y += bitsperlong.h | ||
6 | header-y += byteorder.h | ||
7 | header-y += fcntl.h | ||
8 | header-y += hwcap.h | ||
9 | header-y += param.h | ||
10 | header-y += ptrace.h | ||
11 | header-y += setup.h | ||
12 | header-y += sigcontext.h | ||
13 | header-y += siginfo.h | ||
14 | header-y += signal.h | ||
15 | header-y += stat.h | ||
16 | header-y += statfs.h | ||
17 | header-y += unistd.h | ||
diff --git a/arch/arm64/include/uapi/asm/auxvec.h b/arch/arm64/include/uapi/asm/auxvec.h new file mode 100644 index 000000000000..22d6d8885854 --- /dev/null +++ b/arch/arm64/include/uapi/asm/auxvec.h | |||
@@ -0,0 +1,22 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2012 ARM Ltd. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #ifndef __ASM_AUXVEC_H | ||
17 | #define __ASM_AUXVEC_H | ||
18 | |||
19 | /* vDSO location */ | ||
20 | #define AT_SYSINFO_EHDR 33 | ||
21 | |||
22 | #endif | ||
diff --git a/arch/arm64/include/uapi/asm/bitsperlong.h b/arch/arm64/include/uapi/asm/bitsperlong.h new file mode 100644 index 000000000000..fce9c2924fa3 --- /dev/null +++ b/arch/arm64/include/uapi/asm/bitsperlong.h | |||
@@ -0,0 +1,23 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2012 ARM Ltd. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #ifndef __ASM_BITSPERLONG_H | ||
17 | #define __ASM_BITSPERLONG_H | ||
18 | |||
19 | #define __BITS_PER_LONG 64 | ||
20 | |||
21 | #include <asm-generic/bitsperlong.h> | ||
22 | |||
23 | #endif /* __ASM_BITSPERLONG_H */ | ||
diff --git a/arch/arm64/include/uapi/asm/byteorder.h b/arch/arm64/include/uapi/asm/byteorder.h new file mode 100644 index 000000000000..2b92046aafc5 --- /dev/null +++ b/arch/arm64/include/uapi/asm/byteorder.h | |||
@@ -0,0 +1,21 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2012 ARM Ltd. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #ifndef __ASM_BYTEORDER_H | ||
17 | #define __ASM_BYTEORDER_H | ||
18 | |||
19 | #include <linux/byteorder/little_endian.h> | ||
20 | |||
21 | #endif /* __ASM_BYTEORDER_H */ | ||
diff --git a/arch/arm64/include/uapi/asm/fcntl.h b/arch/arm64/include/uapi/asm/fcntl.h new file mode 100644 index 000000000000..cd2e630c235e --- /dev/null +++ b/arch/arm64/include/uapi/asm/fcntl.h | |||
@@ -0,0 +1,29 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2012 ARM Ltd. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #ifndef __ASM_FCNTL_H | ||
17 | #define __ASM_FCNTL_H | ||
18 | |||
19 | /* | ||
20 | * Using our own definitions for AArch32 (compat) support. | ||
21 | */ | ||
22 | #define O_DIRECTORY 040000 /* must be a directory */ | ||
23 | #define O_NOFOLLOW 0100000 /* don't follow links */ | ||
24 | #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ | ||
25 | #define O_LARGEFILE 0400000 | ||
26 | |||
27 | #include <asm-generic/fcntl.h> | ||
28 | |||
29 | #endif | ||
diff --git a/arch/arm64/include/uapi/asm/hwcap.h b/arch/arm64/include/uapi/asm/hwcap.h new file mode 100644 index 000000000000..eea497578b87 --- /dev/null +++ b/arch/arm64/include/uapi/asm/hwcap.h | |||
@@ -0,0 +1,26 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2012 ARM Ltd. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #ifndef _UAPI__ASM_HWCAP_H | ||
17 | #define _UAPI__ASM_HWCAP_H | ||
18 | |||
19 | /* | ||
20 | * HWCAP flags - for elf_hwcap (in kernel) and AT_HWCAP | ||
21 | */ | ||
22 | #define HWCAP_FP (1 << 0) | ||
23 | #define HWCAP_ASIMD (1 << 1) | ||
24 | |||
25 | |||
26 | #endif /* _UAPI__ASM_HWCAP_H */ | ||
diff --git a/arch/arm64/include/uapi/asm/param.h b/arch/arm64/include/uapi/asm/param.h new file mode 100644 index 000000000000..8e3a281d448a --- /dev/null +++ b/arch/arm64/include/uapi/asm/param.h | |||
@@ -0,0 +1,23 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2012 ARM Ltd. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #ifndef __ASM_PARAM_H | ||
17 | #define __ASM_PARAM_H | ||
18 | |||
19 | #define EXEC_PAGESIZE 65536 | ||
20 | |||
21 | #include <asm-generic/param.h> | ||
22 | |||
23 | #endif | ||
diff --git a/arch/arm64/include/uapi/asm/ptrace.h b/arch/arm64/include/uapi/asm/ptrace.h new file mode 100644 index 000000000000..9b131b4efa0b --- /dev/null +++ b/arch/arm64/include/uapi/asm/ptrace.h | |||
@@ -0,0 +1,91 @@ | |||
1 | /* | ||
2 | * Based on arch/arm/include/asm/ptrace.h | ||
3 | * | ||
4 | * Copyright (C) 1996-2003 Russell King | ||
5 | * Copyright (C) 2012 ARM Ltd. | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | */ | ||
19 | #ifndef _UAPI__ASM_PTRACE_H | ||
20 | #define _UAPI__ASM_PTRACE_H | ||
21 | |||
22 | #include <linux/types.h> | ||
23 | |||
24 | #include <asm/hwcap.h> | ||
25 | |||
26 | |||
27 | /* | ||
28 | * PSR bits | ||
29 | */ | ||
30 | #define PSR_MODE_EL0t 0x00000000 | ||
31 | #define PSR_MODE_EL1t 0x00000004 | ||
32 | #define PSR_MODE_EL1h 0x00000005 | ||
33 | #define PSR_MODE_EL2t 0x00000008 | ||
34 | #define PSR_MODE_EL2h 0x00000009 | ||
35 | #define PSR_MODE_EL3t 0x0000000c | ||
36 | #define PSR_MODE_EL3h 0x0000000d | ||
37 | #define PSR_MODE_MASK 0x0000000f | ||
38 | |||
39 | /* AArch32 CPSR bits */ | ||
40 | #define PSR_MODE32_BIT 0x00000010 | ||
41 | |||
42 | /* AArch64 SPSR bits */ | ||
43 | #define PSR_F_BIT 0x00000040 | ||
44 | #define PSR_I_BIT 0x00000080 | ||
45 | #define PSR_A_BIT 0x00000100 | ||
46 | #define PSR_D_BIT 0x00000200 | ||
47 | #define PSR_Q_BIT 0x08000000 | ||
48 | #define PSR_V_BIT 0x10000000 | ||
49 | #define PSR_C_BIT 0x20000000 | ||
50 | #define PSR_Z_BIT 0x40000000 | ||
51 | #define PSR_N_BIT 0x80000000 | ||
52 | |||
53 | /* | ||
54 | * Groups of PSR bits | ||
55 | */ | ||
56 | #define PSR_f 0xff000000 /* Flags */ | ||
57 | #define PSR_s 0x00ff0000 /* Status */ | ||
58 | #define PSR_x 0x0000ff00 /* Extension */ | ||
59 | #define PSR_c 0x000000ff /* Control */ | ||
60 | |||
61 | |||
62 | #ifndef __ASSEMBLY__ | ||
63 | |||
64 | /* | ||
65 | * User structures for general purpose, floating point and debug registers. | ||
66 | */ | ||
67 | struct user_pt_regs { | ||
68 | __u64 regs[31]; | ||
69 | __u64 sp; | ||
70 | __u64 pc; | ||
71 | __u64 pstate; | ||
72 | }; | ||
73 | |||
74 | struct user_fpsimd_state { | ||
75 | __uint128_t vregs[32]; | ||
76 | __u32 fpsr; | ||
77 | __u32 fpcr; | ||
78 | }; | ||
79 | |||
80 | struct user_hwdebug_state { | ||
81 | __u32 dbg_info; | ||
82 | struct { | ||
83 | __u64 addr; | ||
84 | __u32 ctrl; | ||
85 | } dbg_regs[16]; | ||
86 | }; | ||
87 | |||
88 | |||
89 | #endif /* __ASSEMBLY__ */ | ||
90 | |||
91 | #endif /* _UAPI__ASM_PTRACE_H */ | ||
diff --git a/arch/arm64/include/uapi/asm/setup.h b/arch/arm64/include/uapi/asm/setup.h new file mode 100644 index 000000000000..9cf2e46fbbdf --- /dev/null +++ b/arch/arm64/include/uapi/asm/setup.h | |||
@@ -0,0 +1,26 @@ | |||
1 | /* | ||
2 | * Based on arch/arm/include/asm/setup.h | ||
3 | * | ||
4 | * Copyright (C) 1997-1999 Russell King | ||
5 | * Copyright (C) 2012 ARM Ltd. | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | */ | ||
19 | #ifndef __ASM_SETUP_H | ||
20 | #define __ASM_SETUP_H | ||
21 | |||
22 | #include <linux/types.h> | ||
23 | |||
24 | #define COMMAND_LINE_SIZE 2048 | ||
25 | |||
26 | #endif | ||
diff --git a/arch/arm64/include/uapi/asm/sigcontext.h b/arch/arm64/include/uapi/asm/sigcontext.h new file mode 100644 index 000000000000..690ad51cc901 --- /dev/null +++ b/arch/arm64/include/uapi/asm/sigcontext.h | |||
@@ -0,0 +1,57 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2012 ARM Ltd. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #ifndef _UAPI__ASM_SIGCONTEXT_H | ||
17 | #define _UAPI__ASM_SIGCONTEXT_H | ||
18 | |||
19 | #include <linux/types.h> | ||
20 | |||
21 | /* | ||
22 | * Signal context structure - contains all info to do with the state | ||
23 | * before the signal handler was invoked. | ||
24 | */ | ||
25 | struct sigcontext { | ||
26 | __u64 fault_address; | ||
27 | /* AArch64 registers */ | ||
28 | __u64 regs[31]; | ||
29 | __u64 sp; | ||
30 | __u64 pc; | ||
31 | __u64 pstate; | ||
32 | /* 4K reserved for FP/SIMD state and future expansion */ | ||
33 | __u8 __reserved[4096] __attribute__((__aligned__(16))); | ||
34 | }; | ||
35 | |||
36 | /* | ||
37 | * Header to be used at the beginning of structures extending the user | ||
38 | * context. Such structures must be placed after the rt_sigframe on the stack | ||
39 | * and be 16-byte aligned. The last structure must be a dummy one with the | ||
40 | * magic and size set to 0. | ||
41 | */ | ||
42 | struct _aarch64_ctx { | ||
43 | __u32 magic; | ||
44 | __u32 size; | ||
45 | }; | ||
46 | |||
47 | #define FPSIMD_MAGIC 0x46508001 | ||
48 | |||
49 | struct fpsimd_context { | ||
50 | struct _aarch64_ctx head; | ||
51 | __u32 fpsr; | ||
52 | __u32 fpcr; | ||
53 | __uint128_t vregs[32]; | ||
54 | }; | ||
55 | |||
56 | |||
57 | #endif /* _UAPI__ASM_SIGCONTEXT_H */ | ||
diff --git a/arch/arm64/include/uapi/asm/siginfo.h b/arch/arm64/include/uapi/asm/siginfo.h new file mode 100644 index 000000000000..5a74a0853db0 --- /dev/null +++ b/arch/arm64/include/uapi/asm/siginfo.h | |||
@@ -0,0 +1,23 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2012 ARM Ltd. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #ifndef __ASM_SIGINFO_H | ||
17 | #define __ASM_SIGINFO_H | ||
18 | |||
19 | #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) | ||
20 | |||
21 | #include <asm-generic/siginfo.h> | ||
22 | |||
23 | #endif | ||
diff --git a/arch/arm64/include/uapi/asm/signal.h b/arch/arm64/include/uapi/asm/signal.h new file mode 100644 index 000000000000..8d1e7236431b --- /dev/null +++ b/arch/arm64/include/uapi/asm/signal.h | |||
@@ -0,0 +1,24 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2012 ARM Ltd. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #ifndef __ASM_SIGNAL_H | ||
17 | #define __ASM_SIGNAL_H | ||
18 | |||
19 | /* Required for AArch32 compatibility. */ | ||
20 | #define SA_RESTORER 0x04000000 | ||
21 | |||
22 | #include <asm-generic/signal.h> | ||
23 | |||
24 | #endif | ||
diff --git a/arch/arm64/include/uapi/asm/stat.h b/arch/arm64/include/uapi/asm/stat.h new file mode 100644 index 000000000000..eeb702e5074a --- /dev/null +++ b/arch/arm64/include/uapi/asm/stat.h | |||
@@ -0,0 +1,16 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2012 ARM Ltd. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include <asm-generic/stat.h> | ||
diff --git a/arch/arm64/include/uapi/asm/statfs.h b/arch/arm64/include/uapi/asm/statfs.h new file mode 100644 index 000000000000..6f6219050978 --- /dev/null +++ b/arch/arm64/include/uapi/asm/statfs.h | |||
@@ -0,0 +1,23 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2012 ARM Ltd. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #ifndef __ASM_STATFS_H | ||
17 | #define __ASM_STATFS_H | ||
18 | |||
19 | #define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4))) | ||
20 | |||
21 | #include <asm-generic/statfs.h> | ||
22 | |||
23 | #endif | ||
diff --git a/arch/arm64/include/uapi/asm/unistd.h b/arch/arm64/include/uapi/asm/unistd.h new file mode 100644 index 000000000000..1caadc24e3fe --- /dev/null +++ b/arch/arm64/include/uapi/asm/unistd.h | |||
@@ -0,0 +1,16 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2012 ARM Ltd. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include <asm-generic/unistd.h> | ||