aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2023-09-27 17:06:00 +0000
committerRussell King (Oracle) <[email protected]>2023-10-05 15:17:05 +0000
commitc7368ddba2ffcc5d200122c5bb122c3825ecb976 (patch)
treefbf5020ddfd96c80d20c92aeadaadcb88df13743 /drivers/net/xen-netback/interface.c
parentARM: 9324/1: fix get_user() broken with veneer (diff)
downloadkernel-c7368ddba2ffcc5d200122c5bb122c3825ecb976.tar.gz
kernel-c7368ddba2ffcc5d200122c5bb122c3825ecb976.zip
ARM: 9326/1: make <linux/uaccess.h> self-contained for ARM
When I compiled the following code for ARM, I encountered numerous errors. [Test Code] #include <linux/compiler.h> #include <linux/uaccess.h> int foo(int *x, int __user *ptr) { return get_user(*x, ptr); } To fix the errors, make some asm headers self-contained: 1. In arch/arm/include/asm/domain.h, include <linux/thread_info.h> for current_thread_info(). 2. In arch/arm/include/asm/traps.h, remove unneeded __init, and include <linux/linkage.h> for asmlinkage. 3. In arch/arm/include/asm/uaccess.h, include <linux/kernel.h> for might_fault(). Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions