Jakub Kicinski 68f4eae781 net: checksum: drop the linux/uaccess.h include
net/checksum.h pulls in linux/uaccess.h which is large.

In the x86 header the include seems to not be needed at all.
ARM on the other hand does not include uaccess.h, even tho
it calls access_ok().

In the generic implementation guard the include of linux/uaccess.h
with the same condition as the code that needs it.

With this change pre-processed net/checksum.h shrinks on x86
from 30616 lines to just 1193.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-01-27 11:19:46 +00:00
..
2022-12-06 07:30:55 +09:00
2021-07-01 13:19:48 -07:00
2022-12-14 09:27:13 -08:00
2022-06-22 12:59:43 +01:00
2022-08-23 10:43:11 +02:00
2022-07-28 22:06:15 -07:00
2022-08-09 22:14:02 -07:00
2021-12-16 07:18:35 -08:00
2021-10-15 11:33:08 +01:00
2021-10-13 09:40:46 -07:00
2021-07-27 13:05:56 +01:00
2022-05-11 12:43:10 +01:00
2020-03-04 13:25:55 -08:00
2022-06-19 10:00:02 +01:00
2019-10-05 16:29:00 -07:00
2022-12-19 17:28:50 -08:00
2021-08-03 13:05:26 +01:00
2022-12-12 11:27:42 -08:00
2022-12-12 15:04:39 -08:00
2019-12-09 10:28:43 -08:00
2022-12-12 11:27:42 -08:00