diff options
-rw-r--r-- | arch/um/Makefile | 51 | ||||
-rw-r--r-- | arch/um/include/shared/aio.h (renamed from arch/um/include/aio.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/arch.h (renamed from arch/um/include/arch.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/as-layout.h (renamed from arch/um/include/as-layout.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/chan_kern.h (renamed from arch/um/include/chan_kern.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/chan_user.h (renamed from arch/um/include/chan_user.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/common-offsets.h (renamed from arch/um/include/common-offsets.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/elf_user.h (renamed from arch/um/include/elf_user.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/frame_kern.h (renamed from arch/um/include/frame_kern.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/init.h (renamed from arch/um/include/init.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/initrd.h (renamed from arch/um/include/initrd.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/irq_kern.h (renamed from arch/um/include/irq_kern.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/irq_user.h (renamed from arch/um/include/irq_user.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/kern.h (renamed from arch/um/include/kern.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/kern_util.h (renamed from arch/um/include/kern_util.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/line.h (renamed from arch/um/include/line.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/longjmp.h (renamed from arch/um/include/longjmp.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/mconsole.h (renamed from arch/um/include/mconsole.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/mconsole_kern.h (renamed from arch/um/include/mconsole_kern.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/mem.h (renamed from arch/um/include/mem.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/mem_kern.h (renamed from arch/um/include/mem_kern.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/mem_user.h (renamed from arch/um/include/mem_user.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/net_kern.h (renamed from arch/um/include/net_kern.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/net_user.h (renamed from arch/um/include/net_user.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/os.h (renamed from arch/um/include/os.h) | 2 | ||||
-rw-r--r-- | arch/um/include/shared/process.h (renamed from arch/um/include/process.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/ptrace_user.h (renamed from arch/um/include/ptrace_user.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/registers.h (renamed from arch/um/include/registers.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sigcontext.h (renamed from arch/um/include/sigcontext.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sigio.h (renamed from arch/um/include/sigio.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/skas/mm_id.h (renamed from arch/um/include/skas/mm_id.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/skas/proc_mm.h (renamed from arch/um/include/skas/proc_mm.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/skas/skas.h (renamed from arch/um/include/skas/skas.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/skas/stub-data.h (renamed from arch/um/include/skas/stub-data.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/skas_ptrace.h (renamed from arch/um/include/skas_ptrace.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/skas_ptregs.h (renamed from arch/um/include/skas_ptregs.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/syscall.h (renamed from arch/um/include/syscall.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-i386/archsetjmp.h (renamed from arch/um/include/sysdep-i386/archsetjmp.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-i386/barrier.h (renamed from arch/um/include/sysdep-i386/barrier.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-i386/checksum.h (renamed from arch/um/include/sysdep-i386/checksum.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-i386/faultinfo.h (renamed from arch/um/include/sysdep-i386/faultinfo.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-i386/kernel-offsets.h (renamed from arch/um/include/sysdep-i386/kernel-offsets.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-i386/ptrace.h (renamed from arch/um/include/sysdep-i386/ptrace.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-i386/ptrace_user.h (renamed from arch/um/include/sysdep-i386/ptrace_user.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-i386/sc.h (renamed from arch/um/include/sysdep-i386/sc.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-i386/sigcontext.h (renamed from arch/um/include/sysdep-i386/sigcontext.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-i386/skas_ptrace.h (renamed from arch/um/include/sysdep-i386/skas_ptrace.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-i386/stub.h (renamed from arch/um/include/sysdep-i386/stub.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-i386/syscalls.h (renamed from arch/um/include/sysdep-i386/syscalls.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-i386/tls.h (renamed from arch/um/include/sysdep-i386/tls.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-ia64/ptrace.h (renamed from arch/um/include/sysdep-ia64/ptrace.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-ia64/sigcontext.h (renamed from arch/um/include/sysdep-ia64/sigcontext.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-ia64/skas_ptrace.h (renamed from arch/um/include/sysdep-ia64/skas_ptrace.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-ia64/syscalls.h (renamed from arch/um/include/sysdep-ia64/syscalls.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-ppc/ptrace.h (renamed from arch/um/include/sysdep-ppc/ptrace.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-ppc/sigcontext.h (renamed from arch/um/include/sysdep-ppc/sigcontext.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-ppc/skas_ptrace.h (renamed from arch/um/include/sysdep-ppc/skas_ptrace.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-ppc/syscalls.h (renamed from arch/um/include/sysdep-ppc/syscalls.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-x86_64/archsetjmp.h (renamed from arch/um/include/sysdep-x86_64/archsetjmp.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-x86_64/barrier.h (renamed from arch/um/include/sysdep-x86_64/barrier.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-x86_64/checksum.h (renamed from arch/um/include/sysdep-x86_64/checksum.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-x86_64/faultinfo.h (renamed from arch/um/include/sysdep-x86_64/faultinfo.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-x86_64/kernel-offsets.h (renamed from arch/um/include/sysdep-x86_64/kernel-offsets.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-x86_64/ptrace.h (renamed from arch/um/include/sysdep-x86_64/ptrace.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-x86_64/ptrace_user.h (renamed from arch/um/include/sysdep-x86_64/ptrace_user.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-x86_64/sc.h (renamed from arch/um/include/sysdep-x86_64/sc.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-x86_64/sigcontext.h (renamed from arch/um/include/sysdep-x86_64/sigcontext.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-x86_64/skas_ptrace.h (renamed from arch/um/include/sysdep-x86_64/skas_ptrace.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-x86_64/stub.h (renamed from arch/um/include/sysdep-x86_64/stub.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-x86_64/syscalls.h (renamed from arch/um/include/sysdep-x86_64/syscalls.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysdep-x86_64/tls.h (renamed from arch/um/include/sysdep-x86_64/tls.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/sysrq.h (renamed from arch/um/include/sysrq.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/task.h (renamed from arch/um/include/task.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/tlb.h (renamed from arch/um/include/tlb.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/ubd_user.h (renamed from arch/um/include/ubd_user.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/um_malloc.h (renamed from arch/um/include/um_malloc.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/um_mmu.h (renamed from arch/um/include/um_mmu.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/um_uaccess.h (renamed from arch/um/include/um_uaccess.h) | 0 | ||||
-rw-r--r-- | arch/um/include/shared/user.h (renamed from arch/um/include/user.h) | 0 |
79 files changed, 26 insertions, 27 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile index ca40397017b9..88c5b0a52777 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile | |||
@@ -28,18 +28,18 @@ SYMLINK_HEADERS := $(foreach header,$(SYMLINK_HEADERS),include/asm-um/$(header)) | |||
28 | # | 28 | # |
29 | # These are cleaned up during mrproper. Please DO NOT fix it again, this is | 29 | # These are cleaned up during mrproper. Please DO NOT fix it again, this is |
30 | # the Correct Thing(tm) to do! | 30 | # the Correct Thing(tm) to do! |
31 | ARCH_SYMLINKS = include/asm-um/arch $(ARCH_DIR)/include/sysdep $(ARCH_DIR)/os \ | 31 | ARCH_SYMLINKS = include/asm-um/arch $(ARCH_DIR)/include/shared/sysdep $(ARCH_DIR)/os \ |
32 | $(SYMLINK_HEADERS) $(ARCH_DIR)/include/uml-config.h | 32 | $(SYMLINK_HEADERS) $(ARCH_DIR)/include/shared/uml-config.h |
33 | 33 | ||
34 | MODE_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/skas | 34 | MODE_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared/skas |
35 | 35 | ||
36 | include $(srctree)/$(ARCH_DIR)/Makefile-skas | 36 | include $(srctree)/$(ARCH_DIR)/Makefile-skas |
37 | 37 | ||
38 | ARCH_INCLUDE := -I$(ARCH_DIR)/include | 38 | ARCH_INCLUDE := -I$(ARCH_DIR)/include/shared |
39 | ifneq ($(KBUILD_SRC),) | 39 | ifneq ($(KBUILD_SRC),) |
40 | ARCH_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include | 40 | ARCH_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared |
41 | endif | 41 | endif |
42 | SYS_DIR := $(ARCH_DIR)/include/sysdep-$(SUBARCH) | 42 | SYS_DIR := $(ARCH_DIR)/include/shared/sysdep-$(SUBARCH) |
43 | 43 | ||
44 | # -Dvmap=kernel_vmap prevents anything from referencing the libpcap.o symbol so | 44 | # -Dvmap=kernel_vmap prevents anything from referencing the libpcap.o symbol so |
45 | # named - it's a common symbol in libpcap, so we get a binary which crashes. | 45 | # named - it's a common symbol in libpcap, so we get a binary which crashes. |
@@ -96,11 +96,11 @@ endef | |||
96 | ifneq ($(KBUILD_SRC),) | 96 | ifneq ($(KBUILD_SRC),) |
97 | $(shell mkdir -p $(ARCH_DIR) && ln -fsn $(srctree)/$(ARCH_DIR)/Kconfig.$(SUBARCH) $(ARCH_DIR)/Kconfig.arch) | 97 | $(shell mkdir -p $(ARCH_DIR) && ln -fsn $(srctree)/$(ARCH_DIR)/Kconfig.$(SUBARCH) $(ARCH_DIR)/Kconfig.arch) |
98 | else | 98 | else |
99 | $(shell cd $(ARCH_DIR) && ln -sf Kconfig.$(SUBARCH) Kconfig.arch) | 99 | $(shell ln -fsn Kconfig.$(SUBARCH) $(ARCH_DIR)/Kconfig.arch) |
100 | endif | 100 | endif |
101 | 101 | ||
102 | archprepare: $(ARCH_SYMLINKS) $(ARCH_DIR)/include/user_constants.h | 102 | archprepare: $(ARCH_SYMLINKS) $(ARCH_DIR)/include/shared/user_constants.h |
103 | prepare: $(ARCH_DIR)/include/kern_constants.h | 103 | prepare: $(ARCH_DIR)/include/shared/kern_constants.h |
104 | 104 | ||
105 | LINK-$(CONFIG_LD_SCRIPT_STATIC) += -static | 105 | LINK-$(CONFIG_LD_SCRIPT_STATIC) += -static |
106 | LINK-$(CONFIG_LD_SCRIPT_DYN) += -Wl,-rpath,/lib | 106 | LINK-$(CONFIG_LD_SCRIPT_DYN) += -Wl,-rpath,/lib |
@@ -132,9 +132,9 @@ endef | |||
132 | 132 | ||
133 | # When cleaning we don't include .config, so we don't include | 133 | # When cleaning we don't include .config, so we don't include |
134 | # TT or skas makefiles and don't clean skas_ptregs.h. | 134 | # TT or skas makefiles and don't clean skas_ptregs.h. |
135 | CLEAN_FILES += linux x.i gmon.out $(ARCH_DIR)/include/uml-config.h \ | 135 | CLEAN_FILES += linux x.i gmon.out $(ARCH_DIR)/include/shared/uml-config.h \ |
136 | $(ARCH_DIR)/include/user_constants.h \ | 136 | $(ARCH_DIR)/include/shared/user_constants.h \ |
137 | $(ARCH_DIR)/include/kern_constants.h $(ARCH_DIR)/Kconfig.arch | 137 | $(ARCH_DIR)/include/shared/kern_constants.h $(ARCH_DIR)/Kconfig.arch |
138 | 138 | ||
139 | MRPROPER_FILES += $(ARCH_SYMLINKS) | 139 | MRPROPER_FILES += $(ARCH_SYMLINKS) |
140 | 140 | ||
@@ -148,37 +148,36 @@ ifneq ($(KBUILD_SRC),) | |||
148 | $(Q)mkdir -p $(objtree)/include/asm-um | 148 | $(Q)mkdir -p $(objtree)/include/asm-um |
149 | $(Q)ln -fsn $(srctree)/include/asm-um/$(basename $(notdir $@))-$(SUBARCH)$(suffix $@) $@ | 149 | $(Q)ln -fsn $(srctree)/include/asm-um/$(basename $(notdir $@))-$(SUBARCH)$(suffix $@) $@ |
150 | else | 150 | else |
151 | $(Q)cd $(srctree)/$(dir $@) ; \ | 151 | $(Q)ln -sf $(basename $(notdir $@))-$(SUBARCH)$(suffix $@) $@ |
152 | ln -sf $(basename $(notdir $@))-$(SUBARCH)$(suffix $@) $(notdir $@) | ||
153 | endif | 152 | endif |
154 | 153 | ||
155 | include/asm-um/arch: | 154 | include/asm-um/arch: |
156 | @echo ' SYMLINK $@' | 155 | @echo ' SYMLINK $@' |
157 | ifneq ($(KBUILD_SRC),) | 156 | ifneq ($(KBUILD_SRC),) |
158 | $(Q)mkdir -p $(objtree)/include/asm-um | 157 | $(Q)mkdir -p $(objtree)/include/asm-um |
159 | $(Q)ln -fsn $(srctree)/include/asm-$(HEADER_ARCH) include/asm-um/arch | 158 | $(Q)ln -fsn $(srctree)/include/asm-$(HEADER_ARCH) $@ |
160 | else | 159 | else |
161 | $(Q)cd $(srctree)/include/asm-um && ln -fsn ../asm-$(HEADER_ARCH) arch | 160 | $(Q)ln -fsn ../asm-$(HEADER_ARCH) $@ |
162 | endif | 161 | endif |
163 | 162 | ||
164 | $(objtree)/$(ARCH_DIR)/include: | 163 | $(objtree)/$(ARCH_DIR)/include/shared: |
165 | @echo ' MKDIR $@' | 164 | @echo ' MKDIR $@' |
166 | $(Q)mkdir -p $@ | 165 | $(Q)mkdir -p $@ |
167 | 166 | ||
168 | $(ARCH_DIR)/include/sysdep: $(objtree)/$(ARCH_DIR)/include | 167 | $(ARCH_DIR)/include/shared/sysdep: $(objtree)/$(ARCH_DIR)/include/shared |
169 | @echo ' SYMLINK $@' | 168 | @echo ' SYMLINK $@' |
170 | ifneq ($(KBUILD_SRC),) | 169 | ifneq ($(KBUILD_SRC),) |
171 | $(Q)ln -fsn $(srctree)/$(ARCH_DIR)/include/sysdep-$(SUBARCH) $(ARCH_DIR)/include/sysdep | 170 | $(Q)ln -fsn $(srctree)/$(ARCH_DIR)/include/shared/sysdep-$(SUBARCH) $@ |
172 | else | 171 | else |
173 | $(Q)cd $(ARCH_DIR)/include && ln -fsn sysdep-$(SUBARCH) sysdep | 172 | $(Q)ln -fsn sysdep-$(SUBARCH) $@ |
174 | endif | 173 | endif |
175 | 174 | ||
176 | $(ARCH_DIR)/os: | 175 | $(ARCH_DIR)/os: |
177 | @echo ' SYMLINK $@' | 176 | @echo ' SYMLINK $@' |
178 | ifneq ($(KBUILD_SRC),) | 177 | ifneq ($(KBUILD_SRC),) |
179 | $(Q)ln -fsn $(srctree)/$(ARCH_DIR)/os-$(OS) $(ARCH_DIR)/os | 178 | $(Q)ln -fsn $(srctree)/$(ARCH_DIR)/os-$(OS) $@ |
180 | else | 179 | else |
181 | $(Q)cd $(ARCH_DIR) && ln -fsn os-$(OS) os | 180 | $(Q)ln -fsn os-$(OS) $@ |
182 | endif | 181 | endif |
183 | 182 | ||
184 | # Generated files | 183 | # Generated files |
@@ -186,7 +185,7 @@ define filechk_umlconfig | |||
186 | sed 's/ CONFIG/ UML_CONFIG/' | 185 | sed 's/ CONFIG/ UML_CONFIG/' |
187 | endef | 186 | endef |
188 | 187 | ||
189 | $(ARCH_DIR)/include/uml-config.h : include/linux/autoconf.h | 188 | $(ARCH_DIR)/include/shared/uml-config.h : include/linux/autoconf.h |
190 | $(call filechk,umlconfig) | 189 | $(call filechk,umlconfig) |
191 | 190 | ||
192 | $(ARCH_DIR)/sys-$(SUBARCH)/user-offsets.s: FORCE | 191 | $(ARCH_DIR)/sys-$(SUBARCH)/user-offsets.s: FORCE |
@@ -205,11 +204,11 @@ define filechk_gen-asm-offsets | |||
205 | echo ""; ) | 204 | echo ""; ) |
206 | endef | 205 | endef |
207 | 206 | ||
208 | $(ARCH_DIR)/include/user_constants.h: $(ARCH_DIR)/sys-$(SUBARCH)/user-offsets.s | 207 | $(ARCH_DIR)/include/shared/user_constants.h: $(ARCH_DIR)/sys-$(SUBARCH)/user-offsets.s |
209 | $(call filechk,gen-asm-offsets) | 208 | $(call filechk,gen-asm-offsets) |
210 | 209 | ||
211 | $(ARCH_DIR)/include/kern_constants.h: $(objtree)/$(ARCH_DIR)/include | 210 | $(ARCH_DIR)/include/shared/kern_constants.h: $(objtree)/$(ARCH_DIR)/include/shared |
212 | @echo ' SYMLINK $@' | 211 | @echo ' SYMLINK $@' |
213 | $(Q)ln -sf ../../../include/asm-um/asm-offsets.h $@ | 212 | $(Q)ln -sf ../../../../include/asm-um/asm-offsets.h $@ |
214 | 213 | ||
215 | export SUBARCH USER_CFLAGS CFLAGS_NO_HARDENING OS HEADER_ARCH | 214 | export SUBARCH USER_CFLAGS CFLAGS_NO_HARDENING OS HEADER_ARCH |
diff --git a/arch/um/include/aio.h b/arch/um/include/shared/aio.h index 423bae9153f8..423bae9153f8 100644 --- a/arch/um/include/aio.h +++ b/arch/um/include/shared/aio.h | |||
diff --git a/arch/um/include/arch.h b/arch/um/include/shared/arch.h index 2de92a08a76b..2de92a08a76b 100644 --- a/arch/um/include/arch.h +++ b/arch/um/include/shared/arch.h | |||
diff --git a/arch/um/include/as-layout.h b/arch/um/include/shared/as-layout.h index 58e852dfb0ce..58e852dfb0ce 100644 --- a/arch/um/include/as-layout.h +++ b/arch/um/include/shared/as-layout.h | |||
diff --git a/arch/um/include/chan_kern.h b/arch/um/include/shared/chan_kern.h index 1e651457e049..1e651457e049 100644 --- a/arch/um/include/chan_kern.h +++ b/arch/um/include/shared/chan_kern.h | |||
diff --git a/arch/um/include/chan_user.h b/arch/um/include/shared/chan_user.h index 9b9ced85b703..9b9ced85b703 100644 --- a/arch/um/include/chan_user.h +++ b/arch/um/include/shared/chan_user.h | |||
diff --git a/arch/um/include/common-offsets.h b/arch/um/include/shared/common-offsets.h index b54bd35585c2..b54bd35585c2 100644 --- a/arch/um/include/common-offsets.h +++ b/arch/um/include/shared/common-offsets.h | |||
diff --git a/arch/um/include/elf_user.h b/arch/um/include/shared/elf_user.h index 53516b637272..53516b637272 100644 --- a/arch/um/include/elf_user.h +++ b/arch/um/include/shared/elf_user.h | |||
diff --git a/arch/um/include/frame_kern.h b/arch/um/include/shared/frame_kern.h index ce9514f57211..ce9514f57211 100644 --- a/arch/um/include/frame_kern.h +++ b/arch/um/include/shared/frame_kern.h | |||
diff --git a/arch/um/include/init.h b/arch/um/include/shared/init.h index 37dd097c16c0..37dd097c16c0 100644 --- a/arch/um/include/init.h +++ b/arch/um/include/shared/init.h | |||
diff --git a/arch/um/include/initrd.h b/arch/um/include/shared/initrd.h index 439b9a814985..439b9a814985 100644 --- a/arch/um/include/initrd.h +++ b/arch/um/include/shared/initrd.h | |||
diff --git a/arch/um/include/irq_kern.h b/arch/um/include/shared/irq_kern.h index fba3895274f9..fba3895274f9 100644 --- a/arch/um/include/irq_kern.h +++ b/arch/um/include/shared/irq_kern.h | |||
diff --git a/arch/um/include/irq_user.h b/arch/um/include/shared/irq_user.h index c6c784df2673..c6c784df2673 100644 --- a/arch/um/include/irq_user.h +++ b/arch/um/include/shared/irq_user.h | |||
diff --git a/arch/um/include/kern.h b/arch/um/include/shared/kern.h index 4ce3fc650e57..4ce3fc650e57 100644 --- a/arch/um/include/kern.h +++ b/arch/um/include/shared/kern.h | |||
diff --git a/arch/um/include/kern_util.h b/arch/um/include/shared/kern_util.h index 3c341222d252..3c341222d252 100644 --- a/arch/um/include/kern_util.h +++ b/arch/um/include/shared/kern_util.h | |||
diff --git a/arch/um/include/line.h b/arch/um/include/shared/line.h index 311a0d3d93af..311a0d3d93af 100644 --- a/arch/um/include/line.h +++ b/arch/um/include/shared/line.h | |||
diff --git a/arch/um/include/longjmp.h b/arch/um/include/shared/longjmp.h index e860bc5848e0..e860bc5848e0 100644 --- a/arch/um/include/longjmp.h +++ b/arch/um/include/shared/longjmp.h | |||
diff --git a/arch/um/include/mconsole.h b/arch/um/include/shared/mconsole.h index c139ae1d6826..c139ae1d6826 100644 --- a/arch/um/include/mconsole.h +++ b/arch/um/include/shared/mconsole.h | |||
diff --git a/arch/um/include/mconsole_kern.h b/arch/um/include/shared/mconsole_kern.h index d2fe07e78958..d2fe07e78958 100644 --- a/arch/um/include/mconsole_kern.h +++ b/arch/um/include/shared/mconsole_kern.h | |||
diff --git a/arch/um/include/mem.h b/arch/um/include/shared/mem.h index 5cd40e99e8d5..5cd40e99e8d5 100644 --- a/arch/um/include/mem.h +++ b/arch/um/include/shared/mem.h | |||
diff --git a/arch/um/include/mem_kern.h b/arch/um/include/shared/mem_kern.h index cb7e196d366b..cb7e196d366b 100644 --- a/arch/um/include/mem_kern.h +++ b/arch/um/include/shared/mem_kern.h | |||
diff --git a/arch/um/include/mem_user.h b/arch/um/include/shared/mem_user.h index 46384acd547b..46384acd547b 100644 --- a/arch/um/include/mem_user.h +++ b/arch/um/include/shared/mem_user.h | |||
diff --git a/arch/um/include/net_kern.h b/arch/um/include/shared/net_kern.h index d843c7924a7c..d843c7924a7c 100644 --- a/arch/um/include/net_kern.h +++ b/arch/um/include/shared/net_kern.h | |||
diff --git a/arch/um/include/net_user.h b/arch/um/include/shared/net_user.h index 63bee158cd8e..63bee158cd8e 100644 --- a/arch/um/include/net_user.h +++ b/arch/um/include/shared/net_user.h | |||
diff --git a/arch/um/include/os.h b/arch/um/include/shared/os.h index db5be46e3e18..2aaffa04fc8f 100644 --- a/arch/um/include/os.h +++ b/arch/um/include/shared/os.h | |||
@@ -11,7 +11,7 @@ | |||
11 | #include "longjmp.h" | 11 | #include "longjmp.h" |
12 | #include "mm_id.h" | 12 | #include "mm_id.h" |
13 | #include "sysdep/tls.h" | 13 | #include "sysdep/tls.h" |
14 | #include "../os/include/file.h" | 14 | #include "../../os/include/file.h" |
15 | 15 | ||
16 | #define CATCH_EINTR(expr) while ((errno = 0, ((expr) < 0)) && (errno == EINTR)) | 16 | #define CATCH_EINTR(expr) while ((errno = 0, ((expr) < 0)) && (errno == EINTR)) |
17 | 17 | ||
diff --git a/arch/um/include/process.h b/arch/um/include/shared/process.h index bb873a51262e..bb873a51262e 100644 --- a/arch/um/include/process.h +++ b/arch/um/include/shared/process.h | |||
diff --git a/arch/um/include/ptrace_user.h b/arch/um/include/shared/ptrace_user.h index 4bce6e012889..4bce6e012889 100644 --- a/arch/um/include/ptrace_user.h +++ b/arch/um/include/shared/ptrace_user.h | |||
diff --git a/arch/um/include/registers.h b/arch/um/include/shared/registers.h index b0b4589e0ebc..b0b4589e0ebc 100644 --- a/arch/um/include/registers.h +++ b/arch/um/include/shared/registers.h | |||
diff --git a/arch/um/include/sigcontext.h b/arch/um/include/shared/sigcontext.h index 59816ca7a8df..59816ca7a8df 100644 --- a/arch/um/include/sigcontext.h +++ b/arch/um/include/shared/sigcontext.h | |||
diff --git a/arch/um/include/sigio.h b/arch/um/include/shared/sigio.h index 434f1a9ae4b3..434f1a9ae4b3 100644 --- a/arch/um/include/sigio.h +++ b/arch/um/include/shared/sigio.h | |||
diff --git a/arch/um/include/skas/mm_id.h b/arch/um/include/shared/skas/mm_id.h index 48dd0989ddaa..48dd0989ddaa 100644 --- a/arch/um/include/skas/mm_id.h +++ b/arch/um/include/shared/skas/mm_id.h | |||
diff --git a/arch/um/include/skas/proc_mm.h b/arch/um/include/shared/skas/proc_mm.h index 902809209603..902809209603 100644 --- a/arch/um/include/skas/proc_mm.h +++ b/arch/um/include/shared/skas/proc_mm.h | |||
diff --git a/arch/um/include/skas/skas.h b/arch/um/include/shared/skas/skas.h index 64d2c7443306..64d2c7443306 100644 --- a/arch/um/include/skas/skas.h +++ b/arch/um/include/shared/skas/skas.h | |||
diff --git a/arch/um/include/skas/stub-data.h b/arch/um/include/shared/skas/stub-data.h index f6ed92c3727d..f6ed92c3727d 100644 --- a/arch/um/include/skas/stub-data.h +++ b/arch/um/include/shared/skas/stub-data.h | |||
diff --git a/arch/um/include/skas_ptrace.h b/arch/um/include/shared/skas_ptrace.h index 3d31bbacd016..3d31bbacd016 100644 --- a/arch/um/include/skas_ptrace.h +++ b/arch/um/include/shared/skas_ptrace.h | |||
diff --git a/arch/um/include/skas_ptregs.h b/arch/um/include/shared/skas_ptregs.h index 73db19e9c077..73db19e9c077 100644 --- a/arch/um/include/skas_ptregs.h +++ b/arch/um/include/shared/skas_ptregs.h | |||
diff --git a/arch/um/include/syscall.h b/arch/um/include/shared/syscall.h index dda1df901a08..dda1df901a08 100644 --- a/arch/um/include/syscall.h +++ b/arch/um/include/shared/syscall.h | |||
diff --git a/arch/um/include/sysdep-i386/archsetjmp.h b/arch/um/include/shared/sysdep-i386/archsetjmp.h index 0f312085ce1d..0f312085ce1d 100644 --- a/arch/um/include/sysdep-i386/archsetjmp.h +++ b/arch/um/include/shared/sysdep-i386/archsetjmp.h | |||
diff --git a/arch/um/include/sysdep-i386/barrier.h b/arch/um/include/shared/sysdep-i386/barrier.h index b58d52c5b2f4..b58d52c5b2f4 100644 --- a/arch/um/include/sysdep-i386/barrier.h +++ b/arch/um/include/shared/sysdep-i386/barrier.h | |||
diff --git a/arch/um/include/sysdep-i386/checksum.h b/arch/um/include/shared/sysdep-i386/checksum.h index 0cb4645cbeb8..0cb4645cbeb8 100644 --- a/arch/um/include/sysdep-i386/checksum.h +++ b/arch/um/include/shared/sysdep-i386/checksum.h | |||
diff --git a/arch/um/include/sysdep-i386/faultinfo.h b/arch/um/include/shared/sysdep-i386/faultinfo.h index db437cc373bc..db437cc373bc 100644 --- a/arch/um/include/sysdep-i386/faultinfo.h +++ b/arch/um/include/shared/sysdep-i386/faultinfo.h | |||
diff --git a/arch/um/include/sysdep-i386/kernel-offsets.h b/arch/um/include/shared/sysdep-i386/kernel-offsets.h index 5868526b5eef..5868526b5eef 100644 --- a/arch/um/include/sysdep-i386/kernel-offsets.h +++ b/arch/um/include/shared/sysdep-i386/kernel-offsets.h | |||
diff --git a/arch/um/include/sysdep-i386/ptrace.h b/arch/um/include/shared/sysdep-i386/ptrace.h index 11c08969d134..11c08969d134 100644 --- a/arch/um/include/sysdep-i386/ptrace.h +++ b/arch/um/include/shared/sysdep-i386/ptrace.h | |||
diff --git a/arch/um/include/sysdep-i386/ptrace_user.h b/arch/um/include/shared/sysdep-i386/ptrace_user.h index ef56247e4143..ef56247e4143 100644 --- a/arch/um/include/sysdep-i386/ptrace_user.h +++ b/arch/um/include/shared/sysdep-i386/ptrace_user.h | |||
diff --git a/arch/um/include/sysdep-i386/sc.h b/arch/um/include/shared/sysdep-i386/sc.h index c57d1780ad37..c57d1780ad37 100644 --- a/arch/um/include/sysdep-i386/sc.h +++ b/arch/um/include/shared/sysdep-i386/sc.h | |||
diff --git a/arch/um/include/sysdep-i386/sigcontext.h b/arch/um/include/shared/sysdep-i386/sigcontext.h index f583c87111a0..f583c87111a0 100644 --- a/arch/um/include/sysdep-i386/sigcontext.h +++ b/arch/um/include/shared/sysdep-i386/sigcontext.h | |||
diff --git a/arch/um/include/sysdep-i386/skas_ptrace.h b/arch/um/include/shared/sysdep-i386/skas_ptrace.h index e27b8a791773..e27b8a791773 100644 --- a/arch/um/include/sysdep-i386/skas_ptrace.h +++ b/arch/um/include/shared/sysdep-i386/skas_ptrace.h | |||
diff --git a/arch/um/include/sysdep-i386/stub.h b/arch/um/include/shared/sysdep-i386/stub.h index 8c097b87fca7..8c097b87fca7 100644 --- a/arch/um/include/sysdep-i386/stub.h +++ b/arch/um/include/shared/sysdep-i386/stub.h | |||
diff --git a/arch/um/include/sysdep-i386/syscalls.h b/arch/um/include/shared/sysdep-i386/syscalls.h index 905698197e35..905698197e35 100644 --- a/arch/um/include/sysdep-i386/syscalls.h +++ b/arch/um/include/shared/sysdep-i386/syscalls.h | |||
diff --git a/arch/um/include/sysdep-i386/tls.h b/arch/um/include/shared/sysdep-i386/tls.h index 918fd3c5ff9c..918fd3c5ff9c 100644 --- a/arch/um/include/sysdep-i386/tls.h +++ b/arch/um/include/shared/sysdep-i386/tls.h | |||
diff --git a/arch/um/include/sysdep-ia64/ptrace.h b/arch/um/include/shared/sysdep-ia64/ptrace.h index 42dd8fb6f2f9..42dd8fb6f2f9 100644 --- a/arch/um/include/sysdep-ia64/ptrace.h +++ b/arch/um/include/shared/sysdep-ia64/ptrace.h | |||
diff --git a/arch/um/include/sysdep-ia64/sigcontext.h b/arch/um/include/shared/sysdep-ia64/sigcontext.h index f15fb25260ba..f15fb25260ba 100644 --- a/arch/um/include/sysdep-ia64/sigcontext.h +++ b/arch/um/include/shared/sysdep-ia64/sigcontext.h | |||
diff --git a/arch/um/include/sysdep-ia64/skas_ptrace.h b/arch/um/include/shared/sysdep-ia64/skas_ptrace.h index 25a38e715702..25a38e715702 100644 --- a/arch/um/include/sysdep-ia64/skas_ptrace.h +++ b/arch/um/include/shared/sysdep-ia64/skas_ptrace.h | |||
diff --git a/arch/um/include/sysdep-ia64/syscalls.h b/arch/um/include/shared/sysdep-ia64/syscalls.h index 4a1f46ef1ebc..4a1f46ef1ebc 100644 --- a/arch/um/include/sysdep-ia64/syscalls.h +++ b/arch/um/include/shared/sysdep-ia64/syscalls.h | |||
diff --git a/arch/um/include/sysdep-ppc/ptrace.h b/arch/um/include/shared/sysdep-ppc/ptrace.h index df2397dba3e5..df2397dba3e5 100644 --- a/arch/um/include/sysdep-ppc/ptrace.h +++ b/arch/um/include/shared/sysdep-ppc/ptrace.h | |||
diff --git a/arch/um/include/sysdep-ppc/sigcontext.h b/arch/um/include/shared/sysdep-ppc/sigcontext.h index f20d965de9c7..f20d965de9c7 100644 --- a/arch/um/include/sysdep-ppc/sigcontext.h +++ b/arch/um/include/shared/sysdep-ppc/sigcontext.h | |||
diff --git a/arch/um/include/sysdep-ppc/skas_ptrace.h b/arch/um/include/shared/sysdep-ppc/skas_ptrace.h index d9fbbac10de0..d9fbbac10de0 100644 --- a/arch/um/include/sysdep-ppc/skas_ptrace.h +++ b/arch/um/include/shared/sysdep-ppc/skas_ptrace.h | |||
diff --git a/arch/um/include/sysdep-ppc/syscalls.h b/arch/um/include/shared/sysdep-ppc/syscalls.h index 679df351e19b..679df351e19b 100644 --- a/arch/um/include/sysdep-ppc/syscalls.h +++ b/arch/um/include/shared/sysdep-ppc/syscalls.h | |||
diff --git a/arch/um/include/sysdep-x86_64/archsetjmp.h b/arch/um/include/shared/sysdep-x86_64/archsetjmp.h index 2af8f12ca161..2af8f12ca161 100644 --- a/arch/um/include/sysdep-x86_64/archsetjmp.h +++ b/arch/um/include/shared/sysdep-x86_64/archsetjmp.h | |||
diff --git a/arch/um/include/sysdep-x86_64/barrier.h b/arch/um/include/shared/sysdep-x86_64/barrier.h index 7b610befdc8f..7b610befdc8f 100644 --- a/arch/um/include/sysdep-x86_64/barrier.h +++ b/arch/um/include/shared/sysdep-x86_64/barrier.h | |||
diff --git a/arch/um/include/sysdep-x86_64/checksum.h b/arch/um/include/shared/sysdep-x86_64/checksum.h index a5be9031ea85..a5be9031ea85 100644 --- a/arch/um/include/sysdep-x86_64/checksum.h +++ b/arch/um/include/shared/sysdep-x86_64/checksum.h | |||
diff --git a/arch/um/include/sysdep-x86_64/faultinfo.h b/arch/um/include/shared/sysdep-x86_64/faultinfo.h index cb917b0d5660..cb917b0d5660 100644 --- a/arch/um/include/sysdep-x86_64/faultinfo.h +++ b/arch/um/include/shared/sysdep-x86_64/faultinfo.h | |||
diff --git a/arch/um/include/sysdep-x86_64/kernel-offsets.h b/arch/um/include/shared/sysdep-x86_64/kernel-offsets.h index a307237b7964..a307237b7964 100644 --- a/arch/um/include/sysdep-x86_64/kernel-offsets.h +++ b/arch/um/include/shared/sysdep-x86_64/kernel-offsets.h | |||
diff --git a/arch/um/include/sysdep-x86_64/ptrace.h b/arch/um/include/shared/sysdep-x86_64/ptrace.h index 9ea44d111f33..9ea44d111f33 100644 --- a/arch/um/include/sysdep-x86_64/ptrace.h +++ b/arch/um/include/shared/sysdep-x86_64/ptrace.h | |||
diff --git a/arch/um/include/sysdep-x86_64/ptrace_user.h b/arch/um/include/shared/sysdep-x86_64/ptrace_user.h index 4dbccdb58f48..4dbccdb58f48 100644 --- a/arch/um/include/sysdep-x86_64/ptrace_user.h +++ b/arch/um/include/shared/sysdep-x86_64/ptrace_user.h | |||
diff --git a/arch/um/include/sysdep-x86_64/sc.h b/arch/um/include/shared/sysdep-x86_64/sc.h index 8aee45b07434..8aee45b07434 100644 --- a/arch/um/include/sysdep-x86_64/sc.h +++ b/arch/um/include/shared/sysdep-x86_64/sc.h | |||
diff --git a/arch/um/include/sysdep-x86_64/sigcontext.h b/arch/um/include/shared/sysdep-x86_64/sigcontext.h index 0155133b1458..0155133b1458 100644 --- a/arch/um/include/sysdep-x86_64/sigcontext.h +++ b/arch/um/include/shared/sysdep-x86_64/sigcontext.h | |||
diff --git a/arch/um/include/sysdep-x86_64/skas_ptrace.h b/arch/um/include/shared/sysdep-x86_64/skas_ptrace.h index 95db4be786e4..95db4be786e4 100644 --- a/arch/um/include/sysdep-x86_64/skas_ptrace.h +++ b/arch/um/include/shared/sysdep-x86_64/skas_ptrace.h | |||
diff --git a/arch/um/include/sysdep-x86_64/stub.h b/arch/um/include/shared/sysdep-x86_64/stub.h index 655f9c2de3ac..655f9c2de3ac 100644 --- a/arch/um/include/sysdep-x86_64/stub.h +++ b/arch/um/include/shared/sysdep-x86_64/stub.h | |||
diff --git a/arch/um/include/sysdep-x86_64/syscalls.h b/arch/um/include/shared/sysdep-x86_64/syscalls.h index 7cfb0b085655..7cfb0b085655 100644 --- a/arch/um/include/sysdep-x86_64/syscalls.h +++ b/arch/um/include/shared/sysdep-x86_64/syscalls.h | |||
diff --git a/arch/um/include/sysdep-x86_64/tls.h b/arch/um/include/shared/sysdep-x86_64/tls.h index 35f19f25bd3b..35f19f25bd3b 100644 --- a/arch/um/include/sysdep-x86_64/tls.h +++ b/arch/um/include/shared/sysdep-x86_64/tls.h | |||
diff --git a/arch/um/include/sysrq.h b/arch/um/include/shared/sysrq.h index c8d332b56b98..c8d332b56b98 100644 --- a/arch/um/include/sysrq.h +++ b/arch/um/include/shared/sysrq.h | |||
diff --git a/arch/um/include/task.h b/arch/um/include/shared/task.h index 3fe726b3cf48..3fe726b3cf48 100644 --- a/arch/um/include/task.h +++ b/arch/um/include/shared/task.h | |||
diff --git a/arch/um/include/tlb.h b/arch/um/include/shared/tlb.h index ecd2265b301b..ecd2265b301b 100644 --- a/arch/um/include/tlb.h +++ b/arch/um/include/shared/tlb.h | |||
diff --git a/arch/um/include/ubd_user.h b/arch/um/include/shared/ubd_user.h index bb66517f0739..bb66517f0739 100644 --- a/arch/um/include/ubd_user.h +++ b/arch/um/include/shared/ubd_user.h | |||
diff --git a/arch/um/include/um_malloc.h b/arch/um/include/shared/um_malloc.h index c554d706d106..c554d706d106 100644 --- a/arch/um/include/um_malloc.h +++ b/arch/um/include/shared/um_malloc.h | |||
diff --git a/arch/um/include/um_mmu.h b/arch/um/include/shared/um_mmu.h index f575ff91f2a0..f575ff91f2a0 100644 --- a/arch/um/include/um_mmu.h +++ b/arch/um/include/shared/um_mmu.h | |||
diff --git a/arch/um/include/um_uaccess.h b/arch/um/include/shared/um_uaccess.h index 45c04999d670..45c04999d670 100644 --- a/arch/um/include/um_uaccess.h +++ b/arch/um/include/shared/um_uaccess.h | |||
diff --git a/arch/um/include/user.h b/arch/um/include/shared/user.h index 1723fac6f40d..1723fac6f40d 100644 --- a/arch/um/include/user.h +++ b/arch/um/include/shared/user.h | |||