Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
af1d5b37
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
af1d5b37
编写于
12月 27, 2016
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
uaccess: drop duplicate includes from asm/uaccess.h
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
5e6039d8
变更
35
隐藏空白更改
内联
并排
Showing
35 changed file
with
1 addition
and
64 deletion
+1
-64
arch/alpha/include/asm/uaccess.h
arch/alpha/include/asm/uaccess.h
+0
-4
arch/arc/include/asm/uaccess.h
arch/arc/include/asm/uaccess.h
+0
-2
arch/arm/include/asm/uaccess.h
arch/arm/include/asm/uaccess.h
+0
-2
arch/arm64/include/asm/uaccess.h
arch/arm64/include/asm/uaccess.h
+0
-2
arch/avr32/include/asm/uaccess.h
arch/avr32/include/asm/uaccess.h
+0
-3
arch/blackfin/include/asm/uaccess.h
arch/blackfin/include/asm/uaccess.h
+0
-1
arch/cris/include/asm/uaccess.h
arch/cris/include/asm/uaccess.h
+0
-2
arch/frv/include/asm/uaccess.h
arch/frv/include/asm/uaccess.h
+0
-1
arch/hexagon/include/asm/uaccess.h
arch/hexagon/include/asm/uaccess.h
+0
-1
arch/ia64/include/asm/uaccess.h
arch/ia64/include/asm/uaccess.h
+0
-2
arch/m32r/include/asm/uaccess.h
arch/m32r/include/asm/uaccess.h
+0
-2
arch/m68k/include/asm/uaccess_mm.h
arch/m68k/include/asm/uaccess_mm.h
+0
-2
arch/m68k/include/asm/uaccess_no.h
arch/m68k/include/asm/uaccess_no.h
+0
-1
arch/metag/include/asm/uaccess.h
arch/metag/include/asm/uaccess.h
+0
-1
arch/microblaze/include/asm/uaccess.h
arch/microblaze/include/asm/uaccess.h
+0
-2
arch/mips/include/asm/uaccess.h
arch/mips/include/asm/uaccess.h
+0
-2
arch/mn10300/include/asm/uaccess.h
arch/mn10300/include/asm/uaccess.h
+0
-2
arch/nios2/include/asm/uaccess.h
arch/nios2/include/asm/uaccess.h
+0
-2
arch/openrisc/include/asm/uaccess.h
arch/openrisc/include/asm/uaccess.h
+0
-2
arch/parisc/include/asm/uaccess.h
arch/parisc/include/asm/uaccess.h
+0
-2
arch/powerpc/include/asm/uaccess.h
arch/powerpc/include/asm/uaccess.h
+0
-2
arch/s390/include/asm/uaccess.h
arch/s390/include/asm/uaccess.h
+0
-2
arch/score/include/asm/uaccess.h
arch/score/include/asm/uaccess.h
+0
-2
arch/sh/include/asm/uaccess.h
arch/sh/include/asm/uaccess.h
+0
-2
arch/sparc/include/asm/uaccess_32.h
arch/sparc/include/asm/uaccess_32.h
+0
-2
arch/sparc/include/asm/uaccess_64.h
arch/sparc/include/asm/uaccess_64.h
+0
-2
arch/tile/include/asm/uaccess.h
arch/tile/include/asm/uaccess.h
+0
-1
arch/um/include/asm/uaccess.h
arch/um/include/asm/uaccess.h
+0
-1
arch/unicore32/include/asm/uaccess.h
arch/unicore32/include/asm/uaccess.h
+0
-3
arch/x86/include/asm/uaccess.h
arch/x86/include/asm/uaccess.h
+0
-2
arch/x86/include/asm/uaccess_32.h
arch/x86/include/asm/uaccess_32.h
+0
-2
arch/x86/include/asm/uaccess_64.h
arch/x86/include/asm/uaccess_64.h
+0
-1
arch/xtensa/include/asm/uaccess.h
arch/xtensa/include/asm/uaccess.h
+0
-3
include/asm-generic/uaccess.h
include/asm-generic/uaccess.h
+0
-1
include/linux/uaccess.h
include/linux/uaccess.h
+1
-0
未找到文件。
arch/alpha/include/asm/uaccess.h
浏览文件 @
af1d5b37
#ifndef __ALPHA_UACCESS_H
#define __ALPHA_UACCESS_H
#include <linux/errno.h>
#include <linux/sched.h>
/*
* The fs value determines whether argument validity checking should be
* performed or not. If get_fs() == USER_DS, checking is performed, with
...
...
arch/arc/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -24,8 +24,6 @@
#ifndef _ASM_ARC_UACCESS_H
#define _ASM_ARC_UACCESS_H
#include <linux/sched.h>
#include <asm/errno.h>
#include <linux/string.h>
/* for generic string functions */
...
...
arch/arm/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -12,8 +12,6 @@
* User space memory access functions
*/
#include <linux/string.h>
#include <linux/thread_info.h>
#include <asm/errno.h>
#include <asm/memory.h>
#include <asm/domain.h>
#include <asm/unified.h>
...
...
arch/arm64/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -28,11 +28,9 @@
#include <linux/bitops.h>
#include <linux/kasan-checks.h>
#include <linux/string.h>
#include <linux/thread_info.h>
#include <asm/cpufeature.h>
#include <asm/ptrace.h>
#include <asm/errno.h>
#include <asm/memory.h>
#include <asm/compiler.h>
...
...
arch/avr32/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -8,9 +8,6 @@
#ifndef __ASM_AVR32_UACCESS_H
#define __ASM_AVR32_UACCESS_H
#include <linux/errno.h>
#include <linux/sched.h>
typedef
struct
{
unsigned
int
is_user_space
;
}
mm_segment_t
;
...
...
arch/blackfin/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -12,7 +12,6 @@
/*
* User space memory access functions
*/
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/string.h>
...
...
arch/cris/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -16,8 +16,6 @@
#define _CRIS_UACCESS_H
#ifndef __ASSEMBLY__
#include <linux/sched.h>
#include <linux/errno.h>
#include <asm/processor.h>
#include <asm/page.h>
...
...
arch/frv/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -15,7 +15,6 @@
/*
* User space memory access functions
*/
#include <linux/sched.h>
#include <linux/mm.h>
#include <asm/segment.h>
#include <asm/sections.h>
...
...
arch/hexagon/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -23,7 +23,6 @@
/*
* User space memory access functions
*/
#include <linux/sched.h>
#include <linux/mm.h>
#include <asm/segment.h>
#include <asm/sections.h>
...
...
arch/ia64/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -33,8 +33,6 @@
*/
#include <linux/compiler.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/page-flags.h>
#include <linux/mm.h>
...
...
arch/m32r/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -11,8 +11,6 @@
/*
* User space memory access functions
*/
#include <linux/errno.h>
#include <linux/thread_info.h>
#include <asm/page.h>
#include <asm/setup.h>
...
...
arch/m68k/include/asm/uaccess_mm.h
浏览文件 @
af1d5b37
...
...
@@ -5,9 +5,7 @@
* User space memory access functions
*/
#include <linux/compiler.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <asm/segment.h>
/* We let the MMU do all checking */
...
...
arch/m68k/include/asm/uaccess_no.h
浏览文件 @
af1d5b37
...
...
@@ -4,7 +4,6 @@
/*
* User space memory access functions
*/
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/string.h>
...
...
arch/metag/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -4,7 +4,6 @@
/*
* User space memory access functions
*/
#include <linux/sched.h>
/*
* The fs value determines whether argument validity checking should be
...
...
arch/microblaze/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -15,8 +15,6 @@
#ifndef __ASSEMBLY__
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/sched.h>
/* RLIMIT_FSIZE */
#include <linux/mm.h>
#include <asm/mmu.h>
...
...
arch/mips/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -12,8 +12,6 @@
#define _ASM_UACCESS_H
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/thread_info.h>
#include <linux/string.h>
#include <asm/asm-eva.h>
#include <asm/extable.h>
...
...
arch/mn10300/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -14,10 +14,8 @@
/*
* User space memory access functions
*/
#include <linux/thread_info.h>
#include <linux/kernel.h>
#include <asm/page.h>
#include <asm/errno.h>
/*
* The fs value determines whether argument validity checking should be
...
...
arch/nios2/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -13,8 +13,6 @@
#ifndef _ASM_NIOS2_UACCESS_H
#define _ASM_NIOS2_UACCESS_H
#include <linux/errno.h>
#include <linux/thread_info.h>
#include <linux/string.h>
#include <asm/page.h>
...
...
arch/openrisc/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -22,8 +22,6 @@
/*
* User space memory access functions
*/
#include <linux/errno.h>
#include <linux/thread_info.h>
#include <linux/prefetch.h>
#include <linux/string.h>
#include <asm/page.h>
...
...
arch/parisc/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -6,12 +6,10 @@
*/
#include <asm/page.h>
#include <asm/cache.h>
#include <asm/errno.h>
#include <asm-generic/uaccess-unaligned.h>
#include <linux/bug.h>
#include <linux/string.h>
#include <linux/thread_info.h>
#define KERNEL_DS ((mm_segment_t){0})
#define USER_DS ((mm_segment_t){1})
...
...
arch/powerpc/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -4,8 +4,6 @@
#ifdef __KERNEL__
#ifndef __ASSEMBLY__
#include <linux/sched.h>
#include <linux/errno.h>
#include <asm/asm-compat.h>
#include <asm/ppc_asm.h>
#include <asm/processor.h>
...
...
arch/s390/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -12,8 +12,6 @@
/*
* User space memory access functions
*/
#include <linux/sched.h>
#include <linux/errno.h>
#include <asm/processor.h>
#include <asm/ctl_reg.h>
...
...
arch/score/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -2,8 +2,6 @@
#define __SCORE_UACCESS_H
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/thread_info.h>
#include <asm/extable.h>
#define get_ds() (KERNEL_DS)
...
...
arch/sh/include/asm/uaccess.h
浏览文件 @
af1d5b37
#ifndef __ASM_SH_UACCESS_H
#define __ASM_SH_UACCESS_H
#include <linux/errno.h>
#include <linux/sched.h>
#include <asm/segment.h>
#define __addr_ok(addr) \
...
...
arch/sparc/include/asm/uaccess_32.h
浏览文件 @
af1d5b37
...
...
@@ -9,9 +9,7 @@
#ifdef __KERNEL__
#include <linux/compiler.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/errno.h>
#endif
#ifndef __ASSEMBLY__
...
...
arch/sparc/include/asm/uaccess_64.h
浏览文件 @
af1d5b37
...
...
@@ -6,10 +6,8 @@
*/
#ifdef __KERNEL__
#include <linux/errno.h>
#include <linux/compiler.h>
#include <linux/string.h>
#include <linux/thread_info.h>
#include <asm/asi.h>
#include <asm/spitfire.h>
#include <asm-generic/uaccess-unaligned.h>
...
...
arch/tile/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -18,7 +18,6 @@
/*
* User space memory access functions
*/
#include <linux/sched.h>
#include <linux/mm.h>
#include <asm-generic/uaccess-unaligned.h>
#include <asm/processor.h>
...
...
arch/um/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -7,7 +7,6 @@
#ifndef __UM_UACCESS_H
#define __UM_UACCESS_H
#include <asm/thread_info.h>
#include <asm/elf.h>
#define __under_task_size(addr, size) \
...
...
arch/unicore32/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -12,9 +12,6 @@
#ifndef __UNICORE_UACCESS_H__
#define __UNICORE_UACCESS_H__
#include <linux/thread_info.h>
#include <linux/errno.h>
#include <asm/memory.h>
#define __copy_from_user __copy_from_user
...
...
arch/x86/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -3,10 +3,8 @@
/*
* User space memory access functions
*/
#include <linux/errno.h>
#include <linux/compiler.h>
#include <linux/kasan-checks.h>
#include <linux/thread_info.h>
#include <linux/string.h>
#include <asm/asm.h>
#include <asm/page.h>
...
...
arch/x86/include/asm/uaccess_32.h
浏览文件 @
af1d5b37
...
...
@@ -4,8 +4,6 @@
/*
* User space memory access functions
*/
#include <linux/errno.h>
#include <linux/thread_info.h>
#include <linux/string.h>
#include <asm/asm.h>
#include <asm/page.h>
...
...
arch/x86/include/asm/uaccess_64.h
浏览文件 @
af1d5b37
...
...
@@ -5,7 +5,6 @@
* User space memory access functions
*/
#include <linux/compiler.h>
#include <linux/errno.h>
#include <linux/lockdep.h>
#include <linux/kasan-checks.h>
#include <asm/alternative.h>
...
...
arch/xtensa/include/asm/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -16,12 +16,9 @@
#ifndef _XTENSA_UACCESS_H
#define _XTENSA_UACCESS_H
#include <linux/errno.h>
#include <linux/prefetch.h>
#include <asm/types.h>
#include <linux/sched.h>
/*
* The fs value determines whether argument validity checking should
* be performed or not. If get_fs() == USER_DS, checking is
...
...
include/asm-generic/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -6,7 +6,6 @@
* on any machine that has kernel and user data in the same
* address space, e.g. all NOMMU machines.
*/
#include <linux/sched.h>
#include <linux/string.h>
#include <asm/segment.h>
...
...
include/linux/uaccess.h
浏览文件 @
af1d5b37
...
...
@@ -2,6 +2,7 @@
#define __LINUX_UACCESS_H__
#include <linux/sched.h>
#include <linux/thread_info.h>
#define VERIFY_READ 0
#define VERIFY_WRITE 1
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录