Christophe Leroy
7f053812da
random: vDSO: minimize and simplify header includes
...
Depending on the architecture, building a 32-bit vDSO on a 64-bit kernel
is problematic when some system headers are included.
Minimise the amount of headers by moving needed items, such as
__{get,put}_unaligned_t, into dedicated common headers and in general
use more specific headers, similar to what was done in commit
8165b57bca ("linux/const.h: Extract common header for vDSO") and
commit 8c59ab839f ("lib/vdso: Enable common headers").
On some architectures this results in missing PAGE_SIZE, as was
described by commit 8b3843ae36 ("vdso/datapage: Quick fix - use
asm/page-def.h for ARM64"), so define this if necessary, in the same way
as done prior by commit cffaefd15a ("vdso: Use CONFIG_PAGE_SHIFT in
vdso/datapage.h").
Removing linux/time64.h leads to missing 'struct timespec64' in
x86's asm/pvclock.h. Add a forward declaration of that struct in
that file.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu >
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2024-09-13 17:28:35 +02:00
..
2024-05-03 17:04:50 +02:00
2020-02-17 20:12:17 +01:00
2022-02-25 09:36:06 +01:00
2023-02-13 22:13:29 +01:00
2022-07-25 13:26:14 +02:00
2015-06-23 13:35:49 +09:00
2017-11-02 11:10:55 +01:00
2021-05-26 13:20:52 +02:00
2023-06-05 09:57:14 +02:00
2017-11-02 11:10:55 +01:00
2018-01-30 19:07:54 -08:00
2017-11-02 11:10:55 +01:00
2017-11-15 13:28:48 -08:00
2024-04-16 13:59:45 +02:00
2022-01-15 08:47:31 -08:00
2021-05-06 19:24:11 -07:00
2024-05-07 14:20:48 +02:00
2017-11-02 11:10:55 +01:00
2023-12-14 00:23:17 -08:00
2023-12-15 16:25:55 -08:00
2024-01-17 17:52:29 -08:00
2024-01-05 23:19:14 +01:00
2023-04-04 17:58:11 +02:00
2024-04-25 20:55:52 -07:00
2022-11-01 10:20:11 +11:00
2023-08-26 22:38:49 +02:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:16 +02:00
2021-08-20 11:39:28 +01:00
2023-02-15 12:35:20 +01:00
2017-11-02 11:10:55 +01:00
2021-09-08 11:50:24 -07:00
2017-11-02 11:10:55 +01:00
2023-02-02 22:50:00 -08:00
2019-05-24 17:27:11 +02:00
2017-11-02 11:10:55 +01:00
2024-07-11 17:41:23 +02:00
2019-06-24 09:16:47 +10:00
2019-06-19 17:09:55 +02:00
2021-12-11 23:31:51 +01:00
2020-12-15 22:46:15 -08:00
2020-11-23 10:31:06 +01:00
2024-07-12 15:52:15 -07:00
2024-04-11 16:23:56 -07:00
2018-06-07 17:34:38 -07:00
2024-04-25 20:55:50 -07:00
2017-11-02 11:10:55 +01:00
2023-08-18 10:12:32 -07:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2024-07-16 12:09:03 -07:00
2017-11-02 11:10:55 +01:00
2020-11-24 14:42:08 +01:00
2020-10-25 14:51:49 -07:00
2018-03-06 18:40:44 +01:00
2020-07-09 13:29:42 -04:00
2023-04-29 09:09:09 +02:00
2023-04-29 09:09:09 +02:00
2021-12-21 21:31:08 +01:00
2014-02-09 21:18:52 +01:00
2023-02-09 16:51:41 -08:00
2020-01-23 10:41:16 -08:00
2019-04-08 11:59:39 +01:00
2020-07-17 10:02:03 +01:00
2020-10-26 16:45:03 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-09-25 00:36:41 +09:00
2024-04-11 16:23:56 -07:00
2022-11-17 15:15:20 +01:00
2020-10-26 16:45:03 +01:00
2023-12-05 14:26:50 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2022-07-29 12:01:00 -05:00
2022-07-22 17:34:57 -05:00
2023-06-08 10:28:39 +02:00
2024-04-25 20:55:59 -07:00
2020-04-07 10:43:39 -07:00
2021-07-08 11:48:22 -07:00
2024-03-13 12:12:21 -07:00
2021-07-08 11:48:22 -07:00
2023-08-31 00:18:34 -07:00
2022-05-11 16:27:04 +02:00
2022-05-26 10:50:30 -07:00
2020-07-29 16:14:19 +02:00
2023-11-22 09:32:49 -08:00
2017-11-02 11:10:55 +01:00
2024-06-19 12:34:34 -07:00
2020-07-21 10:50:36 +01:00
2020-07-10 16:01:52 -07:00
2024-03-22 11:18:16 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-14 19:52:48 -07:00
2022-09-10 09:56:53 +02:00
2017-11-02 11:10:55 +01:00
2022-09-05 17:20:55 +02:00
2022-05-11 11:49:38 -07:00
2023-09-21 10:17:00 +02:00
2017-11-02 11:10:55 +01:00
2019-05-24 17:27:11 +02:00
2022-03-10 13:35:08 -06:00
2024-06-25 15:57:38 +02:00
2017-11-02 11:10:55 +01:00
2024-02-22 15:27:17 -08:00
2017-11-02 11:10:55 +01:00
2021-06-29 10:53:55 -07:00
2017-11-02 11:10:55 +01:00
2022-02-25 09:36:06 +01:00
2024-09-13 17:28:35 +02:00
2020-04-23 10:50:26 +09:00
2017-11-02 11:10:55 +01:00
2024-05-03 17:07:50 +02:00
2024-08-03 08:38:45 -07:00
2024-02-01 09:47:59 -08:00
2022-02-11 20:39:39 +11:00