Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild

+246 -385
+48
Kbuild
··· 1 + # 2 + # Kbuild for top-level directory of the kernel 3 + # This file takes care of the following: 4 + # 1) Generate asm-offsets.h 5 + 6 + ##### 7 + # 1) Generate asm-offsets.h 8 + # 9 + 10 + offsets-file := include/asm-$(ARCH)/asm-offsets.h 11 + 12 + always := $(offsets-file) 13 + targets := $(offsets-file) 14 + targets += arch/$(ARCH)/kernel/asm-offsets.s 15 + 16 + # Default sed regexp - multiline due to syntax constraints 17 + define sed-y 18 + "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}" 19 + endef 20 + # Override default regexp for specific architectures 21 + sed-$(CONFIG_MIPS) := "/^@@@/s///p" 22 + 23 + quiet_cmd_offsets = GEN $@ 24 + define cmd_offsets 25 + cat $< | \ 26 + (set -e; \ 27 + echo "#ifndef __ASM_OFFSETS_H__"; \ 28 + echo "#define __ASM_OFFSETS_H__"; \ 29 + echo "/*"; \ 30 + echo " * DO NOT MODIFY."; \ 31 + echo " *"; \ 32 + echo " * This file was generated by $(srctree)/Kbuild"; \ 33 + echo " *"; \ 34 + echo " */"; \ 35 + echo ""; \ 36 + sed -ne $(sed-y); \ 37 + echo ""; \ 38 + echo "#endif" ) > $@ 39 + endef 40 + 41 + # We use internal kbuild rules to avoid the "is up to date" message from make 42 + arch/$(ARCH)/kernel/asm-offsets.s: arch/$(ARCH)/kernel/asm-offsets.c FORCE 43 + $(Q)mkdir -p $(dir $@) 44 + $(call if_changed_dep,cc_s_c) 45 + 46 + $(srctree)/$(offsets-file): arch/$(ARCH)/kernel/asm-offsets.s Kbuild 47 + $(call cmd,offsets) 48 +
+11 -28
Makefile
··· 776 776 # A multi level approach is used. prepare1 is updated first, then prepare0. 777 777 # prepare-all is the collection point for the prepare targets. 778 778 779 - .PHONY: prepare-all prepare prepare0 prepare1 prepare2 779 + .PHONY: prepare-all prepare prepare0 prepare1 prepare2 prepare3 780 780 781 - # prepare2 is used to check if we are building in a separate output directory, 781 + # prepare3 is used to check if we are building in a separate output directory, 782 782 # and if so do: 783 783 # 1) Check that make has not been executed in the kernel src $(srctree) 784 784 # 2) Create the include2 directory, used for the second asm symlink 785 785 786 - prepare2: 786 + prepare3: 787 787 ifneq ($(KBUILD_SRC),) 788 788 @echo ' Using $(srctree) as source for kernel' 789 789 $(Q)if [ -f $(srctree)/.config ]; then \ ··· 795 795 $(Q)ln -fsn $(srctree)/include/asm-$(ARCH) include2/asm 796 796 endif 797 797 798 - # prepare1 creates a makefile if using a separate output directory 799 - prepare1: prepare2 outputmakefile 798 + # prepare2 creates a makefile if using a separate output directory 799 + prepare2: prepare3 outputmakefile 800 800 801 - prepare0: prepare1 include/linux/version.h include/asm \ 801 + prepare1: prepare2 include/linux/version.h include/asm \ 802 802 include/config/MARKER 803 803 ifneq ($(KBUILD_MODULES),) 804 804 $(Q)rm -rf $(MODVERDIR) 805 805 $(Q)mkdir -p $(MODVERDIR) 806 806 endif 807 807 808 + prepare0: prepare prepare1 FORCE 809 + $(Q)$(MAKE) $(build)=$(srctree) 810 + 808 811 # All the preparing.. 809 - prepare-all: prepare0 prepare 812 + prepare-all: prepare0 810 813 811 814 # Leave this as default for preprocessing vmlinux.lds.S, which is now 812 815 # done in arch/$(ARCH)/kernel/Makefile ··· 952 949 953 950 endif # CONFIG_MODULES 954 951 955 - # Generate asm-offsets.h 956 - # --------------------------------------------------------------------------- 957 - 958 - define filechk_gen-asm-offsets 959 - (set -e; \ 960 - echo "#ifndef __ASM_OFFSETS_H__"; \ 961 - echo "#define __ASM_OFFSETS_H__"; \ 962 - echo "/*"; \ 963 - echo " * DO NOT MODIFY."; \ 964 - echo " *"; \ 965 - echo " * This file was generated by arch/$(ARCH)/Makefile"; \ 966 - echo " *"; \ 967 - echo " */"; \ 968 - echo ""; \ 969 - sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"; \ 970 - echo ""; \ 971 - echo "#endif" ) 972 - endef 973 - 974 - 975 952 ### 976 953 # Cleaning is done on three levels. 977 954 # make clean Delete most generated files ··· 974 991 # 975 992 clean: rm-dirs := $(CLEAN_DIRS) 976 993 clean: rm-files := $(CLEAN_FILES) 977 - clean-dirs := $(addprefix _clean_,$(vmlinux-alldirs)) 994 + clean-dirs := $(addprefix _clean_,$(srctree) $(vmlinux-alldirs)) 978 995 979 996 .PHONY: $(clean-dirs) clean archclean 980 997 $(clean-dirs):
-11
arch/alpha/Makefile
··· 108 108 bootimage bootpfile bootpzfile: vmlinux 109 109 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 110 110 111 - 112 - prepare: include/asm-$(ARCH)/asm_offsets.h 113 - 114 - arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ 115 - include/config/MARKER 116 - 117 - include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.s 118 - $(call filechk,gen-asm-offsets) 119 - 120 111 archclean: 121 112 $(Q)$(MAKE) $(clean)=$(boot) 122 - 123 - CLEAN_FILES += include/asm-$(ARCH)/asm_offsets.h 124 113 125 114 define archhelp 126 115 echo '* boot - Compressed kernel image (arch/alpha/boot/vmlinux.gz)'
+1 -1
arch/alpha/kernel/entry.S
··· 5 5 */ 6 6 7 7 #include <linux/config.h> 8 - #include <asm/asm_offsets.h> 8 + #include <asm/asm-offsets.h> 9 9 #include <asm/thread_info.h> 10 10 #include <asm/pal.h> 11 11 #include <asm/errno.h>
+1 -1
arch/alpha/kernel/head.S
··· 9 9 10 10 #include <linux/config.h> 11 11 #include <asm/system.h> 12 - #include <asm/asm_offsets.h> 12 + #include <asm/asm-offsets.h> 13 13 14 14 .globl swapper_pg_dir 15 15 .globl _stext
+1 -1
arch/alpha/lib/dbg_stackcheck.S
··· 5 5 * Verify that we have not overflowed the stack. Oops if we have. 6 6 */ 7 7 8 - #include <asm/asm_offsets.h> 8 + #include <asm/asm-offsets.h> 9 9 10 10 .text 11 11 .set noat
+1 -1
arch/alpha/lib/dbg_stackkill.S
··· 6 6 * uninitialized local variables in the act. 7 7 */ 8 8 9 - #include <asm/asm_offsets.h> 9 + #include <asm/asm-offsets.h> 10 10 11 11 .text 12 12 .set noat
+2 -7
arch/arm/Makefile
··· 178 178 prepare: maketools include/asm-arm/.arch 179 179 180 180 .PHONY: maketools FORCE 181 - maketools: include/asm-arm/constants.h include/linux/version.h FORCE 181 + maketools: include/linux/version.h FORCE 182 182 $(Q)$(MAKE) $(build)=arch/arm/tools include/asm-arm/mach-types.h 183 183 184 184 # Convert bzImage to zImage ··· 190 190 zinstall install: vmlinux 191 191 $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ 192 192 193 - CLEAN_FILES += include/asm-arm/constants.h* include/asm-arm/mach-types.h \ 193 + CLEAN_FILES += include/asm-arm/mach-types.h \ 194 194 include/asm-arm/arch include/asm-arm/.arch 195 195 196 196 # We use MRPROPER_FILES and CLEAN_FILES now ··· 201 201 bp:; $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/bootpImage 202 202 i zi:; $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ 203 203 204 - arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ 205 - include/asm-arm/.arch 206 - 207 - include/asm-$(ARCH)/constants.h: arch/$(ARCH)/kernel/asm-offsets.s 208 - $(call filechk,gen-asm-offsets) 209 204 210 205 define archhelp 211 206 echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)'
+1 -1
arch/arm/kernel/entry-header.S
··· 3 3 #include <linux/linkage.h> 4 4 5 5 #include <asm/assembler.h> 6 - #include <asm/constants.h> 6 + #include <asm/asm-offsets.h> 7 7 #include <asm/errno.h> 8 8 #include <asm/thread_info.h> 9 9
+1 -1
arch/arm/kernel/head.S
··· 20 20 #include <asm/mach-types.h> 21 21 #include <asm/procinfo.h> 22 22 #include <asm/ptrace.h> 23 - #include <asm/constants.h> 23 + #include <asm/asm-offsets.h> 24 24 #include <asm/thread_info.h> 25 25 #include <asm/system.h> 26 26
+1 -1
arch/arm/kernel/iwmmxt.S
··· 17 17 #include <linux/linkage.h> 18 18 #include <asm/ptrace.h> 19 19 #include <asm/thread_info.h> 20 - #include <asm/constants.h> 20 + #include <asm/asm-offsets.h> 21 21 22 22 #define MMX_WR0 (0x00) 23 23 #define MMX_WR1 (0x08)
+1 -1
arch/arm/lib/copy_page.S
··· 11 11 */ 12 12 #include <linux/linkage.h> 13 13 #include <asm/assembler.h> 14 - #include <asm/constants.h> 14 + #include <asm/asm-offsets.h> 15 15 16 16 #define COPY_COUNT (PAGE_SZ/64 PLD( -1 )) 17 17
+1 -1
arch/arm/lib/csumpartialcopyuser.S
··· 13 13 #include <linux/linkage.h> 14 14 #include <asm/assembler.h> 15 15 #include <asm/errno.h> 16 - #include <asm/constants.h> 16 + #include <asm/asm-offsets.h> 17 17 18 18 .text 19 19
+1 -1
arch/arm/lib/getuser.S
··· 26 26 * Note that ADDR_LIMIT is either 0 or 0xc0000000. 27 27 * Note also that it is intended that __get_user_bad is not global. 28 28 */ 29 - #include <asm/constants.h> 29 + #include <asm/asm-offsets.h> 30 30 #include <asm/thread_info.h> 31 31 #include <asm/errno.h> 32 32
+1 -1
arch/arm/lib/putuser.S
··· 26 26 * Note that ADDR_LIMIT is either 0 or 0xc0000000 27 27 * Note also that it is intended that __put_user_bad is not global. 28 28 */ 29 - #include <asm/constants.h> 29 + #include <asm/asm-offsets.h> 30 30 #include <asm/thread_info.h> 31 31 #include <asm/errno.h> 32 32
+1 -1
arch/arm/mm/copypage-v3.S
··· 12 12 #include <linux/linkage.h> 13 13 #include <linux/init.h> 14 14 #include <asm/assembler.h> 15 - #include <asm/constants.h> 15 + #include <asm/asm-offsets.h> 16 16 17 17 .text 18 18 .align 5
+1 -1
arch/arm/mm/copypage-v4wb.S
··· 11 11 */ 12 12 #include <linux/linkage.h> 13 13 #include <linux/init.h> 14 - #include <asm/constants.h> 14 + #include <asm/asm-offsets.h> 15 15 16 16 .text 17 17 .align 5
+1 -1
arch/arm/mm/copypage-v4wt.S
··· 14 14 */ 15 15 #include <linux/linkage.h> 16 16 #include <linux/init.h> 17 - #include <asm/constants.h> 17 + #include <asm/asm-offsets.h> 18 18 19 19 .text 20 20 .align 5
+1 -1
arch/arm/mm/proc-arm1020.S
··· 28 28 #include <linux/config.h> 29 29 #include <linux/init.h> 30 30 #include <asm/assembler.h> 31 - #include <asm/constants.h> 31 + #include <asm/asm-offsets.h> 32 32 #include <asm/pgtable.h> 33 33 #include <asm/procinfo.h> 34 34 #include <asm/ptrace.h>
+1 -1
arch/arm/mm/proc-arm1020e.S
··· 28 28 #include <linux/config.h> 29 29 #include <linux/init.h> 30 30 #include <asm/assembler.h> 31 - #include <asm/constants.h> 31 + #include <asm/asm-offsets.h> 32 32 #include <asm/pgtable.h> 33 33 #include <asm/procinfo.h> 34 34 #include <asm/ptrace.h>
+1 -1
arch/arm/mm/proc-arm1022.S
··· 17 17 #include <linux/config.h> 18 18 #include <linux/init.h> 19 19 #include <asm/assembler.h> 20 - #include <asm/constants.h> 20 + #include <asm/asm-offsets.h> 21 21 #include <asm/pgtable.h> 22 22 #include <asm/procinfo.h> 23 23 #include <asm/ptrace.h>
+1 -1
arch/arm/mm/proc-arm1026.S
··· 17 17 #include <linux/config.h> 18 18 #include <linux/init.h> 19 19 #include <asm/assembler.h> 20 - #include <asm/constants.h> 20 + #include <asm/asm-offsets.h> 21 21 #include <asm/pgtable.h> 22 22 #include <asm/procinfo.h> 23 23 #include <asm/ptrace.h>
+1 -1
arch/arm/mm/proc-arm6_7.S
··· 13 13 #include <linux/linkage.h> 14 14 #include <linux/init.h> 15 15 #include <asm/assembler.h> 16 - #include <asm/constants.h> 16 + #include <asm/asm-offsets.h> 17 17 #include <asm/pgtable.h> 18 18 #include <asm/procinfo.h> 19 19 #include <asm/ptrace.h>
+1 -1
arch/arm/mm/proc-arm720.S
··· 33 33 #include <linux/linkage.h> 34 34 #include <linux/init.h> 35 35 #include <asm/assembler.h> 36 - #include <asm/constants.h> 36 + #include <asm/asm-offsets.h> 37 37 #include <asm/pgtable.h> 38 38 #include <asm/procinfo.h> 39 39 #include <asm/ptrace.h>
+1 -1
arch/arm/mm/proc-macros.S
··· 4 4 * VMA_VM_FLAGS 5 5 * VM_EXEC 6 6 */ 7 - #include <asm/constants.h> 7 + #include <asm/asm-offsets.h> 8 8 #include <asm/thread_info.h> 9 9 10 10 /*
+1 -1
arch/arm/mm/proc-sa110.S
··· 15 15 #include <linux/linkage.h> 16 16 #include <linux/init.h> 17 17 #include <asm/assembler.h> 18 - #include <asm/constants.h> 18 + #include <asm/asm-offsets.h> 19 19 #include <asm/procinfo.h> 20 20 #include <asm/hardware.h> 21 21 #include <asm/pgtable.h>
+1 -1
arch/arm/mm/proc-sa1100.S
··· 20 20 #include <linux/linkage.h> 21 21 #include <linux/init.h> 22 22 #include <asm/assembler.h> 23 - #include <asm/constants.h> 23 + #include <asm/asm-offsets.h> 24 24 #include <asm/procinfo.h> 25 25 #include <asm/hardware.h> 26 26 #include <asm/pgtable.h>
+1 -1
arch/arm/mm/proc-v6.S
··· 11 11 */ 12 12 #include <linux/linkage.h> 13 13 #include <asm/assembler.h> 14 - #include <asm/constants.h> 14 + #include <asm/asm-offsets.h> 15 15 #include <asm/procinfo.h> 16 16 #include <asm/pgtable.h> 17 17
+1 -1
arch/arm/mm/tlb-v3.S
··· 13 13 */ 14 14 #include <linux/linkage.h> 15 15 #include <linux/init.h> 16 - #include <asm/constants.h> 16 + #include <asm/asm-offsets.h> 17 17 #include <asm/tlbflush.h> 18 18 #include "proc-macros.S" 19 19
+1 -1
arch/arm/mm/tlb-v4.S
··· 14 14 */ 15 15 #include <linux/linkage.h> 16 16 #include <linux/init.h> 17 - #include <asm/constants.h> 17 + #include <asm/asm-offsets.h> 18 18 #include <asm/tlbflush.h> 19 19 #include "proc-macros.S" 20 20
+1 -1
arch/arm/mm/tlb-v4wb.S
··· 14 14 */ 15 15 #include <linux/linkage.h> 16 16 #include <linux/init.h> 17 - #include <asm/constants.h> 17 + #include <asm/asm-offsets.h> 18 18 #include <asm/tlbflush.h> 19 19 #include "proc-macros.S" 20 20
+1 -1
arch/arm/mm/tlb-v4wbi.S
··· 14 14 */ 15 15 #include <linux/linkage.h> 16 16 #include <linux/init.h> 17 - #include <asm/constants.h> 17 + #include <asm/asm-offsets.h> 18 18 #include <asm/tlbflush.h> 19 19 #include "proc-macros.S" 20 20
+1 -1
arch/arm/mm/tlb-v6.S
··· 11 11 * These assume a split I/D TLB. 12 12 */ 13 13 #include <linux/linkage.h> 14 - #include <asm/constants.h> 14 + #include <asm/asm-offsets.h> 15 15 #include <asm/page.h> 16 16 #include <asm/tlbflush.h> 17 17 #include "proc-macros.S"
+1 -1
arch/arm/nwfpe/entry26.S
··· 20 20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 21 21 */ 22 22 23 - #include <asm/constants.h> 23 + #include <asm/asm-offsets.h> 24 24 25 25 /* This is the kernel's entry point into the floating point emulator. 26 26 It is called from the kernel with code similar to this:
+1 -1
arch/arm/vfp/entry.S
··· 17 17 */ 18 18 #include <linux/linkage.h> 19 19 #include <linux/init.h> 20 - #include <asm/constants.h> 20 + #include <asm/asm-offsets.h> 21 21 #include <asm/vfpmacros.h> 22 22 23 23 .globl do_vfp
-10
arch/arm26/Makefile
··· 49 49 50 50 boot := arch/arm26/boot 51 51 52 - prepare: include/asm-$(ARCH)/asm_offsets.h 53 - CLEAN_FILES += include/asm-$(ARCH)/asm_offsets.h 54 - 55 - 56 52 .PHONY: maketools FORCE 57 53 maketools: FORCE 58 54 ··· 89 93 echo "$$CFG does not exist"; \ 90 94 fi; \ 91 95 ) 92 - 93 - arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ 94 - include/config/MARKER 95 - 96 - include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.s 97 - $(call filechk,gen-asm-offsets) 98 96 99 97 define archhelp 100 98 echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)'
+1 -1
arch/arm26/kernel/entry.S
··· 10 10 #include <linux/linkage.h> 11 11 12 12 #include <asm/assembler.h> 13 - #include <asm/asm_offsets.h> 13 + #include <asm/asm-offsets.h> 14 14 #include <asm/errno.h> 15 15 #include <asm/hardware.h> 16 16 #include <asm/sysirq.h>
+1 -1
arch/arm26/lib/copy_page.S
··· 11 11 */ 12 12 #include <linux/linkage.h> 13 13 #include <asm/assembler.h> 14 - #include <asm/asm_offsets.h> 14 + #include <asm/asm-offsets.h> 15 15 16 16 .text 17 17 .align 5
+1 -1
arch/arm26/lib/csumpartialcopyuser.S
··· 11 11 #include <linux/linkage.h> 12 12 #include <asm/assembler.h> 13 13 #include <asm/errno.h> 14 - #include <asm/asm_offsets.h> 14 + #include <asm/asm-offsets.h> 15 15 16 16 .text 17 17
+1 -1
arch/arm26/lib/getuser.S
··· 26 26 * Note that ADDR_LIMIT is either 0 or 0xc0000000. 27 27 * Note also that it is intended that __get_user_bad is not global. 28 28 */ 29 - #include <asm/asm_offsets.h> 29 + #include <asm/asm-offsets.h> 30 30 #include <asm/thread_info.h> 31 31 #include <asm/errno.h> 32 32
+1 -1
arch/arm26/lib/putuser.S
··· 26 26 * Note that ADDR_LIMIT is either 0 or 0xc0000000 27 27 * Note also that it is intended that __put_user_bad is not global. 28 28 */ 29 - #include <asm/asm_offsets.h> 29 + #include <asm/asm-offsets.h> 30 30 #include <asm/thread_info.h> 31 31 #include <asm/errno.h> 32 32
+1 -1
arch/arm26/mm/proc-funcs.S
··· 14 14 */ 15 15 #include <linux/linkage.h> 16 16 #include <asm/assembler.h> 17 - #include <asm/asm_offsets.h> 17 + #include <asm/asm-offsets.h> 18 18 #include <asm/procinfo.h> 19 19 #include <asm/ptrace.h> 20 20
+1 -1
arch/arm26/nwfpe/entry.S
··· 20 20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 21 21 */ 22 22 23 - #include <asm/asm_offsets.h> 23 + #include <asm/asm-offsets.h> 24 24 25 25 /* This is the kernel's entry point into the floating point emulator. 26 26 It is called from the kernel with code similar to this:
+2 -8
arch/cris/Makefile
··· 107 107 rm -f timage vmlinux.bin decompress.bin rescue.bin cramfs.img 108 108 rm -rf $(LD_SCRIPT).tmp 109 109 110 - prepare: $(SRC_ARCH)/.links $(srctree)/include/asm-$(ARCH)/.arch \ 111 - include/asm-$(ARCH)/$(SARCH)/offset.h 110 + prepare: $(SRC_ARCH)/.links $(srctree)/include/asm-$(ARCH)/.arch 112 111 113 112 # Create some links to make all tools happy 114 113 $(SRC_ARCH)/.links: ··· 119 120 @ln -sfn $(SRC_ARCH)/$(SARCH)/lib $(SRC_ARCH)/lib 120 121 @ln -sfn $(SRC_ARCH)/$(SARCH) $(SRC_ARCH)/arch 121 122 @ln -sfn $(SRC_ARCH)/$(SARCH)/vmlinux.lds.S $(SRC_ARCH)/kernel/vmlinux.lds.S 123 + @ln -sfn $(SRC_ARCH)/$(SARCH)/asm-offsets.c $(SRC_ARCH)/kernel/asm-offsets.c 122 124 @touch $@ 123 125 124 126 # Create link to sub arch includes ··· 128 128 @rm -f include/asm-$(ARCH)/arch 129 129 @ln -sf $(srctree)/include/asm-$(ARCH)/$(SARCH) $(srctree)/include/asm-$(ARCH)/arch 130 130 @touch $@ 131 - 132 - arch/$(ARCH)/$(SARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ 133 - include/config/MARKER 134 - 135 - include/asm-$(ARCH)/$(SARCH)/offset.h: arch/$(ARCH)/$(SARCH)/kernel/asm-offsets.s 136 - $(call filechk,gen-asm-offsets)
+1 -1
arch/cris/arch-v10/kernel/entry.S
··· 270 270 #include <asm/arch/sv_addr_ag.h> 271 271 #include <asm/errno.h> 272 272 #include <asm/thread_info.h> 273 - #include <asm/arch/offset.h> 273 + #include <asm/asm-offsets.h> 274 274 #include <asm/page.h> 275 275 #include <asm/pgtable.h> 276 276
+1 -1
arch/cris/arch-v32/kernel/entry.S
··· 23 23 #include <asm/unistd.h> 24 24 #include <asm/errno.h> 25 25 #include <asm/thread_info.h> 26 - #include <asm/arch/offset.h> 26 + #include <asm/asm-offsets.h> 27 27 28 28 #include <asm/arch/hwregs/asm/reg_map_asm.h> 29 29 #include <asm/arch/hwregs/asm/intr_vect_defs_asm.h>
+1
arch/frv/kernel/asm-offsets.c
··· 1 + /* Dummy asm-offsets.c file. Required by kbuild and ready to be used - hint! */
-8
arch/h8300/Makefile
··· 61 61 archclean: 62 62 $(Q)$(MAKE) $(clean)=$(boot) 63 63 64 - prepare: include/asm-$(ARCH)/asm-offsets.h 65 - 66 - include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.s \ 67 - include/asm include/linux/version.h 68 - $(call filechk,gen-asm-offsets) 69 - 70 64 vmlinux.srec vmlinux.bin: vmlinux 71 65 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 72 66 ··· 68 74 echo 'vmlinux.bin - Create raw binary' 69 75 echo 'vmlinux.srec - Create srec binary' 70 76 endef 71 - 72 - CLEAN_FILES += include/asm-$(ARCH)/asm-offsets.h
-9
arch/i386/Makefile
··· 156 156 install kernel_install: 157 157 $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install 158 158 159 - prepare: include/asm-$(ARCH)/asm_offsets.h 160 - CLEAN_FILES += include/asm-$(ARCH)/asm_offsets.h 161 - 162 - arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ 163 - include/config/MARKER 164 - 165 - include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.s 166 - $(call filechk,gen-asm-offsets) 167 - 168 159 archclean: 169 160 $(Q)$(MAKE) $(clean)=arch/i386/boot 170 161
+1 -1
arch/i386/kernel/head.S
··· 17 17 #include <asm/desc.h> 18 18 #include <asm/cache.h> 19 19 #include <asm/thread_info.h> 20 - #include <asm/asm_offsets.h> 20 + #include <asm/asm-offsets.h> 21 21 #include <asm/setup.h> 22 22 23 23 /*
+1 -1
arch/i386/kernel/vsyscall-sigreturn.S
··· 7 7 */ 8 8 9 9 #include <asm/unistd.h> 10 - #include <asm/asm_offsets.h> 10 + #include <asm/asm-offsets.h> 11 11 12 12 13 13 /* XXX
+1 -1
arch/i386/kernel/vsyscall.lds.S
··· 3 3 * object prelinked to its virtual address, and with only one read-only 4 4 * segment (that fits in one page). This script controls its layout. 5 5 */ 6 - #include <asm/asm_offsets.h> 6 + #include <asm/asm-offsets.h> 7 7 8 8 SECTIONS 9 9 {
+1 -1
arch/i386/power/swsusp.S
··· 12 12 #include <linux/linkage.h> 13 13 #include <asm/segment.h> 14 14 #include <asm/page.h> 15 - #include <asm/asm_offsets.h> 15 + #include <asm/asm-offsets.h> 16 16 17 17 .text 18 18
+7 -14
arch/ia64/Makefile
··· 82 82 archclean: 83 83 $(Q)$(MAKE) $(clean)=$(boot) 84 84 85 - CLEAN_FILES += include/asm-ia64/.offsets.h.stamp vmlinux.gz bootloader 86 - 87 - MRPROPER_FILES += include/asm-ia64/offsets.h 88 - 89 - prepare: include/asm-ia64/offsets.h 90 - 91 - arch/ia64/kernel/asm-offsets.s: include/asm include/linux/version.h include/config/MARKER 92 - 93 - include/asm-ia64/offsets.h: arch/ia64/kernel/asm-offsets.s 94 - $(call filechk,gen-asm-offsets) 95 - 96 - arch/ia64/kernel/asm-offsets.s: include/asm-ia64/.offsets.h.stamp 85 + prepare: include/asm-ia64/.offsets.h.stamp 97 86 98 87 include/asm-ia64/.offsets.h.stamp: 99 88 mkdir -p include/asm-ia64 100 - [ -s include/asm-ia64/offsets.h ] \ 101 - || echo "#define IA64_TASK_SIZE 0" > include/asm-ia64/offsets.h 89 + [ -s include/asm-ia64/asm-offsets.h ] \ 90 + || echo "#define IA64_TASK_SIZE 0" > include/asm-ia64/asm-offsets.h 102 91 touch $@ 92 + 93 + 94 + 95 + CLEAN_FILES += vmlinux.gz bootloader include/asm-ia64/.offsets.h.stamp 103 96 104 97 boot: lib/lib.a vmlinux 105 98 $(Q)$(MAKE) $(build)=$(boot) $@
+1 -1
arch/ia64/ia32/ia32_entry.S
··· 1 1 #include <asm/asmmacro.h> 2 2 #include <asm/ia32.h> 3 - #include <asm/offsets.h> 3 + #include <asm/asm-offsets.h> 4 4 #include <asm/signal.h> 5 5 #include <asm/thread_info.h> 6 6
+1 -1
arch/ia64/kernel/entry.S
··· 37 37 #include <asm/cache.h> 38 38 #include <asm/errno.h> 39 39 #include <asm/kregs.h> 40 - #include <asm/offsets.h> 40 + #include <asm/asm-offsets.h> 41 41 #include <asm/pgtable.h> 42 42 #include <asm/percpu.h> 43 43 #include <asm/processor.h>
+1 -1
arch/ia64/kernel/fsys.S
··· 14 14 15 15 #include <asm/asmmacro.h> 16 16 #include <asm/errno.h> 17 - #include <asm/offsets.h> 17 + #include <asm/asm-offsets.h> 18 18 #include <asm/percpu.h> 19 19 #include <asm/thread_info.h> 20 20 #include <asm/sal.h>
+1 -1
arch/ia64/kernel/gate.S
··· 10 10 11 11 #include <asm/asmmacro.h> 12 12 #include <asm/errno.h> 13 - #include <asm/offsets.h> 13 + #include <asm/asm-offsets.h> 14 14 #include <asm/sigcontext.h> 15 15 #include <asm/system.h> 16 16 #include <asm/unistd.h>
+1 -1
arch/ia64/kernel/head.S
··· 25 25 #include <asm/fpu.h> 26 26 #include <asm/kregs.h> 27 27 #include <asm/mmu_context.h> 28 - #include <asm/offsets.h> 28 + #include <asm/asm-offsets.h> 29 29 #include <asm/pal.h> 30 30 #include <asm/pgtable.h> 31 31 #include <asm/processor.h>
+1 -1
arch/ia64/kernel/ivt.S
··· 44 44 #include <asm/break.h> 45 45 #include <asm/ia32.h> 46 46 #include <asm/kregs.h> 47 - #include <asm/offsets.h> 47 + #include <asm/asm-offsets.h> 48 48 #include <asm/pgtable.h> 49 49 #include <asm/processor.h> 50 50 #include <asm/ptrace.h>
+1
arch/m32r/kernel/asm-offsets.c
··· 1 + /* Dummy asm-offsets.c file. Required by kbuild and ready to be used - hint! */
-9
arch/m68k/Makefile
··· 113 113 bzip2 -1c vmlinux >vmlinux.bz2 114 114 endif 115 115 116 - prepare: include/asm-$(ARCH)/offsets.h 117 - CLEAN_FILES += include/asm-$(ARCH)/offsets.h 118 - 119 - arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ 120 - include/config/MARKER 121 - 122 - include/asm-$(ARCH)/offsets.h: arch/$(ARCH)/kernel/asm-offsets.s 123 - $(call filechk,gen-asm-offsets) 124 - 125 116 archclean: 126 117 rm -f vmlinux.gz vmlinux.bz2
+1 -1
arch/m68k/fpsp040/skeleton.S
··· 40 40 41 41 #include <linux/linkage.h> 42 42 #include <asm/entry.h> 43 - #include <asm/offsets.h> 43 + #include <asm/asm-offsets.h> 44 44 45 45 |SKELETON idnt 2,1 | Motorola 040 Floating Point Software Package 46 46
+1 -1
arch/m68k/ifpsp060/iskeleton.S
··· 36 36 37 37 #include <linux/linkage.h> 38 38 #include <asm/entry.h> 39 - #include <asm/offsets.h> 39 + #include <asm/asm-offsets.h> 40 40 41 41 42 42 |################################
+1 -1
arch/m68k/kernel/entry.S
··· 42 42 #include <asm/traps.h> 43 43 #include <asm/unistd.h> 44 44 45 - #include <asm/offsets.h> 45 + #include <asm/asm-offsets.h> 46 46 47 47 .globl system_call, buserr, trap 48 48 .globl resume, ret_from_exception
+1 -1
arch/m68k/kernel/head.S
··· 263 263 #include <asm/entry.h> 264 264 #include <asm/pgtable.h> 265 265 #include <asm/page.h> 266 - #include <asm/offsets.h> 266 + #include <asm/asm-offsets.h> 267 267 268 268 #ifdef CONFIG_MAC 269 269
+1 -1
arch/m68k/math-emu/fp_emu.h
··· 39 39 #define _FP_EMU_H 40 40 41 41 #ifdef __ASSEMBLY__ 42 - #include <asm/offsets.h> 42 + #include <asm/asm-offsets.h> 43 43 #endif 44 44 #include <asm/math-emu.h> 45 45
-10
arch/m68knommu/Makefile
··· 102 102 103 103 head-y := arch/m68knommu/platform/$(cpuclass-y)/head.o 104 104 105 - CLEAN_FILES := include/asm-$(ARCH)/asm-offsets.h \ 106 - arch/$(ARCH)/kernel/asm-offsets.s 107 - 108 105 core-y += arch/m68knommu/kernel/ \ 109 106 arch/m68knommu/mm/ \ 110 107 $(CLASSDIR) \ 111 108 arch/m68knommu/platform/$(PLATFORM)/ 112 109 libs-y += arch/m68knommu/lib/ 113 110 114 - prepare: include/asm-$(ARCH)/asm-offsets.h 115 - 116 111 archclean: 117 112 $(Q)$(MAKE) $(clean)=arch/m68knommu/boot 118 - 119 - include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.s \ 120 - include/asm include/linux/version.h \ 121 - include/config/MARKER 122 - $(call filechk,gen-asm-offsets)
+1 -32
arch/mips/Makefile
··· 720 720 @$(MAKE) $(clean)=arch/mips/boot 721 721 @$(MAKE) $(clean)=arch/mips/lasat 722 722 723 - # Generate <asm/offset.h 724 - # 725 - # The default rule is suffering from funny problems on MIPS so we using our 726 - # own ... 727 - # 728 - # --------------------------------------------------------------------------- 729 723 730 - define filechk_gen-asm-offset.h 731 - (set -e; \ 732 - echo "#ifndef _ASM_OFFSET_H"; \ 733 - echo "#define _ASM_OFFSET_H"; \ 734 - echo "/*"; \ 735 - echo " * DO NOT MODIFY."; \ 736 - echo " *"; \ 737 - echo " * This file was generated by arch/$(ARCH)/Makefile"; \ 738 - echo " *"; \ 739 - echo " */"; \ 740 - echo ""; \ 741 - sed -ne "/^@@@/s///p"; \ 742 - echo "#endif /* _ASM_OFFSET_H */" ) 743 - endef 744 - 745 - prepare: include/asm-$(ARCH)/offset.h 746 - 747 - arch/$(ARCH)/kernel/offset.s: include/asm include/linux/version.h \ 748 - include/config/MARKER 749 - 750 - include/asm-$(ARCH)/offset.h: arch/$(ARCH)/kernel/offset.s 751 - $(call filechk,gen-asm-offset.h) 752 - 753 - CLEAN_FILES += include/asm-$(ARCH)/offset.h.tmp \ 754 - include/asm-$(ARCH)/offset.h \ 755 - vmlinux.32 \ 724 + CLEAN_FILES += vmlinux.32 \ 756 725 vmlinux.64 \ 757 726 vmlinux.ecoff
+1 -1
arch/mips/kernel/r2300_fpu.S
··· 15 15 #include <asm/errno.h> 16 16 #include <asm/fpregdef.h> 17 17 #include <asm/mipsregs.h> 18 - #include <asm/offset.h> 18 + #include <asm/asm-offsets.h> 19 19 #include <asm/regdef.h> 20 20 21 21 #define EX(a,b) \
+1 -1
arch/mips/kernel/r2300_switch.S
··· 15 15 #include <asm/cachectl.h> 16 16 #include <asm/fpregdef.h> 17 17 #include <asm/mipsregs.h> 18 - #include <asm/offset.h> 18 + #include <asm/asm-offsets.h> 19 19 #include <asm/page.h> 20 20 #include <asm/regdef.h> 21 21 #include <asm/stackframe.h>
+1 -1
arch/mips/kernel/r4k_fpu.S
··· 17 17 #include <asm/errno.h> 18 18 #include <asm/fpregdef.h> 19 19 #include <asm/mipsregs.h> 20 - #include <asm/offset.h> 20 + #include <asm/asm-offsets.h> 21 21 #include <asm/regdef.h> 22 22 23 23 .macro EX insn, reg, src
+1 -1
arch/mips/kernel/r4k_switch.S
··· 15 15 #include <asm/cachectl.h> 16 16 #include <asm/fpregdef.h> 17 17 #include <asm/mipsregs.h> 18 - #include <asm/offset.h> 18 + #include <asm/asm-offsets.h> 19 19 #include <asm/page.h> 20 20 #include <asm/pgtable-bits.h> 21 21 #include <asm/regdef.h>
+1 -1
arch/mips/kernel/r6000_fpu.S
··· 13 13 #include <asm/asm.h> 14 14 #include <asm/fpregdef.h> 15 15 #include <asm/mipsregs.h> 16 - #include <asm/offset.h> 16 + #include <asm/asm-offsets.h> 17 17 #include <asm/regdef.h> 18 18 19 19 .set noreorder
+1 -1
arch/mips/kernel/scall32-o32.S
··· 19 19 #include <asm/thread_info.h> 20 20 #include <asm/unistd.h> 21 21 #include <asm/war.h> 22 - #include <asm/offset.h> 22 + #include <asm/asm-offsets.h> 23 23 24 24 /* Highest syscall used of any syscall flavour */ 25 25 #define MAX_SYSCALL_NO __NR_O32_Linux + __NR_O32_Linux_syscalls
+1 -1
arch/mips/kernel/scall64-64.S
··· 14 14 #include <asm/mipsregs.h> 15 15 #include <asm/regdef.h> 16 16 #include <asm/stackframe.h> 17 - #include <asm/offset.h> 17 + #include <asm/asm-offsets.h> 18 18 #include <asm/sysmips.h> 19 19 #include <asm/thread_info.h> 20 20 #include <asm/unistd.h>
+1 -1
arch/mips/kernel/syscall.c
··· 31 31 #include <asm/cachectl.h> 32 32 #include <asm/cacheflush.h> 33 33 #include <asm/ipc.h> 34 - #include <asm/offset.h> 34 + #include <asm/asm-offsets.h> 35 35 #include <asm/signal.h> 36 36 #include <asm/sim.h> 37 37 #include <asm/shmparam.h>
+1 -1
arch/mips/lib-32/memset.S
··· 7 7 * Copyright (C) 1999, 2000 Silicon Graphics, Inc. 8 8 */ 9 9 #include <asm/asm.h> 10 - #include <asm/offset.h> 10 + #include <asm/asm-offsets.h> 11 11 #include <asm/regdef.h> 12 12 13 13 #define EX(insn,reg,addr,handler) \
+1 -1
arch/mips/lib-64/memset.S
··· 7 7 * Copyright (C) 1999, 2000 Silicon Graphics, Inc. 8 8 */ 9 9 #include <asm/asm.h> 10 - #include <asm/offset.h> 10 + #include <asm/asm-offsets.h> 11 11 #include <asm/regdef.h> 12 12 13 13 #define EX(insn,reg,addr,handler) \
+1 -1
arch/mips/lib/memcpy.S
··· 14 14 */ 15 15 #include <linux/config.h> 16 16 #include <asm/asm.h> 17 - #include <asm/offset.h> 17 + #include <asm/asm-offsets.h> 18 18 #include <asm/regdef.h> 19 19 20 20 #define dst a0
+1 -1
arch/mips/lib/strlen_user.S
··· 7 7 * Copyright (c) 1999 Silicon Graphics, Inc. 8 8 */ 9 9 #include <asm/asm.h> 10 - #include <asm/offset.h> 10 + #include <asm/asm-offsets.h> 11 11 #include <asm/regdef.h> 12 12 13 13 #define EX(insn,reg,addr,handler) \
+1 -1
arch/mips/lib/strncpy_user.S
··· 7 7 */ 8 8 #include <linux/errno.h> 9 9 #include <asm/asm.h> 10 - #include <asm/offset.h> 10 + #include <asm/asm-offsets.h> 11 11 #include <asm/regdef.h> 12 12 13 13 #define EX(insn,reg,addr,handler) \
+1 -1
arch/mips/lib/strnlen_user.S
··· 7 7 * Copyright (c) 1999 Silicon Graphics, Inc. 8 8 */ 9 9 #include <asm/asm.h> 10 - #include <asm/offset.h> 10 + #include <asm/asm-offsets.h> 11 11 #include <asm/regdef.h> 12 12 13 13 #define EX(insn,reg,addr,handler) \
+1 -9
arch/parisc/Makefile
··· 100 100 101 101 install: kernel_install modules_install 102 102 103 - prepare: include/asm-parisc/offsets.h 104 - 105 - arch/parisc/kernel/asm-offsets.s: include/asm include/linux/version.h \ 106 - include/config/MARKER 107 - 108 - include/asm-parisc/offsets.h: arch/parisc/kernel/asm-offsets.s 109 - $(call filechk,gen-asm-offsets) 110 - 111 - CLEAN_FILES += lifimage include/asm-parisc/offsets.h 103 + CLEAN_FILES += lifimage 112 104 MRPROPER_FILES += palo.conf 113 105 114 106 define archhelp
+1 -1
arch/parisc/hpux/gate.S
··· 9 9 */ 10 10 11 11 #include <asm/assembly.h> 12 - #include <asm/offsets.h> 12 + #include <asm/asm-offsets.h> 13 13 #include <asm/unistd.h> 14 14 #include <asm/errno.h> 15 15
+1 -1
arch/parisc/hpux/wrappers.S
··· 24 24 #warning PA64 support needs more work...did first cut 25 25 #endif 26 26 27 - #include <asm/offsets.h> 27 + #include <asm/asm-offsets.h> 28 28 #include <asm/assembly.h> 29 29 #include <asm/signal.h> 30 30
+1 -1
arch/parisc/kernel/entry.S
··· 23 23 */ 24 24 25 25 #include <linux/config.h> 26 - #include <asm/offsets.h> 26 + #include <asm/asm-offsets.h> 27 27 28 28 /* we have the following possibilities to act on an interruption: 29 29 * - handle in assembly and use shadowed registers only
+1 -1
arch/parisc/kernel/head.S
··· 14 14 15 15 #include <linux/autoconf.h> /* for CONFIG_SMP */ 16 16 17 - #include <asm/offsets.h> 17 + #include <asm/asm-offsets.h> 18 18 #include <asm/psw.h> 19 19 #include <asm/pdc.h> 20 20
+1 -1
arch/parisc/kernel/process.c
··· 47 47 #include <linux/kallsyms.h> 48 48 49 49 #include <asm/io.h> 50 - #include <asm/offsets.h> 50 + #include <asm/asm-offsets.h> 51 51 #include <asm/pdc.h> 52 52 #include <asm/pdc_chassis.h> 53 53 #include <asm/pgalloc.h>
+1 -1
arch/parisc/kernel/ptrace.c
··· 23 23 #include <asm/pgtable.h> 24 24 #include <asm/system.h> 25 25 #include <asm/processor.h> 26 - #include <asm/offsets.h> 26 + #include <asm/asm-offsets.h> 27 27 28 28 /* PSW bits we allow the debugger to modify */ 29 29 #define USER_PSW_BITS (PSW_N | PSW_V | PSW_CB)
+1 -1
arch/parisc/kernel/signal.c
··· 32 32 #include <asm/uaccess.h> 33 33 #include <asm/pgalloc.h> 34 34 #include <asm/cacheflush.h> 35 - #include <asm/offsets.h> 35 + #include <asm/asm-offsets.h> 36 36 37 37 #ifdef CONFIG_COMPAT 38 38 #include <linux/compat.h>
+1 -1
arch/parisc/kernel/syscall.S
··· 7 7 * sorry about the wall, puffin.. 8 8 */ 9 9 10 - #include <asm/offsets.h> 10 + #include <asm/asm-offsets.h> 11 11 #include <asm/unistd.h> 12 12 #include <asm/errno.h> 13 13 #include <asm/psw.h>
+1 -1
arch/parisc/lib/fixup.S
··· 20 20 * Fixup routines for kernel exception handling. 21 21 */ 22 22 #include <linux/config.h> 23 - #include <asm/offsets.h> 23 + #include <asm/asm-offsets.h> 24 24 #include <asm/assembly.h> 25 25 #include <asm/errno.h> 26 26
+2 -10
arch/ppc/Makefile
··· 105 105 $(Q)$(MAKE) $(clean)=arch/ppc/boot 106 106 $(Q)rm -rf include3 107 107 108 - prepare: include/asm-$(ARCH)/offsets.h checkbin 109 - 110 - arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ 111 - include/config/MARKER 112 - 113 - include/asm-$(ARCH)/offsets.h: arch/$(ARCH)/kernel/asm-offsets.s 114 - $(call filechk,gen-asm-offsets) 108 + prepare: checkbin 115 109 116 110 # Temporary hack until we have migrated to asm-powerpc 117 111 include/asm: include3/asm ··· 137 143 false ; \ 138 144 fi 139 145 140 - CLEAN_FILES += include/asm-$(ARCH)/offsets.h \ 141 - arch/$(ARCH)/kernel/asm-offsets.s \ 142 - $(TOUT) 146 + CLEAN_FILES += $(TOUT) 143 147
+1 -1
arch/ppc/kernel/cpu_setup_6xx.S
··· 15 15 #include <asm/ppc_asm.h> 16 16 #include <asm/cputable.h> 17 17 #include <asm/ppc_asm.h> 18 - #include <asm/offsets.h> 18 + #include <asm/asm-offsets.h> 19 19 #include <asm/cache.h> 20 20 21 21 _GLOBAL(__setup_cpu_601)
+1 -1
arch/ppc/kernel/cpu_setup_power4.S
··· 15 15 #include <asm/ppc_asm.h> 16 16 #include <asm/cputable.h> 17 17 #include <asm/ppc_asm.h> 18 - #include <asm/offsets.h> 18 + #include <asm/asm-offsets.h> 19 19 #include <asm/cache.h> 20 20 21 21 _GLOBAL(__970_cpu_preinit)
+1 -1
arch/ppc/kernel/entry.S
··· 29 29 #include <asm/cputable.h> 30 30 #include <asm/thread_info.h> 31 31 #include <asm/ppc_asm.h> 32 - #include <asm/offsets.h> 32 + #include <asm/asm-offsets.h> 33 33 #include <asm/unistd.h> 34 34 35 35 #undef SHOW_SYSCALLS
+1 -1
arch/ppc/kernel/fpu.S
··· 18 18 #include <asm/cache.h> 19 19 #include <asm/thread_info.h> 20 20 #include <asm/ppc_asm.h> 21 - #include <asm/offsets.h> 21 + #include <asm/asm-offsets.h> 22 22 23 23 /* 24 24 * This task wants to use the FPU now.
+1 -1
arch/ppc/kernel/head.S
··· 31 31 #include <asm/cache.h> 32 32 #include <asm/thread_info.h> 33 33 #include <asm/ppc_asm.h> 34 - #include <asm/offsets.h> 34 + #include <asm/asm-offsets.h> 35 35 36 36 #ifdef CONFIG_APUS 37 37 #include <asm/amigappc.h>
+1 -1
arch/ppc/kernel/head_44x.S
··· 40 40 #include <asm/cputable.h> 41 41 #include <asm/thread_info.h> 42 42 #include <asm/ppc_asm.h> 43 - #include <asm/offsets.h> 43 + #include <asm/asm-offsets.h> 44 44 #include "head_booke.h" 45 45 46 46
+1 -1
arch/ppc/kernel/head_4xx.S
··· 40 40 #include <asm/cputable.h> 41 41 #include <asm/thread_info.h> 42 42 #include <asm/ppc_asm.h> 43 - #include <asm/offsets.h> 43 + #include <asm/asm-offsets.h> 44 44 45 45 /* As with the other PowerPC ports, it is expected that when code 46 46 * execution begins here, the following registers contain valid, yet
+1 -1
arch/ppc/kernel/head_8xx.S
··· 30 30 #include <asm/cputable.h> 31 31 #include <asm/thread_info.h> 32 32 #include <asm/ppc_asm.h> 33 - #include <asm/offsets.h> 33 + #include <asm/asm-offsets.h> 34 34 35 35 /* Macro to make the code more readable. */ 36 36 #ifdef CONFIG_8xx_CPU6
+1 -1
arch/ppc/kernel/head_fsl_booke.S
··· 41 41 #include <asm/cputable.h> 42 42 #include <asm/thread_info.h> 43 43 #include <asm/ppc_asm.h> 44 - #include <asm/offsets.h> 44 + #include <asm/asm-offsets.h> 45 45 #include "head_booke.h" 46 46 47 47 /* As with the other PowerPC ports, it is expected that when code
+1 -1
arch/ppc/kernel/idle_6xx.S
··· 20 20 #include <asm/cputable.h> 21 21 #include <asm/thread_info.h> 22 22 #include <asm/ppc_asm.h> 23 - #include <asm/offsets.h> 23 + #include <asm/asm-offsets.h> 24 24 25 25 #undef DEBUG 26 26
+1 -1
arch/ppc/kernel/idle_power4.S
··· 20 20 #include <asm/cputable.h> 21 21 #include <asm/thread_info.h> 22 22 #include <asm/ppc_asm.h> 23 - #include <asm/offsets.h> 23 + #include <asm/asm-offsets.h> 24 24 25 25 #undef DEBUG 26 26
+1 -1
arch/ppc/kernel/misc.S
··· 23 23 #include <asm/mmu.h> 24 24 #include <asm/ppc_asm.h> 25 25 #include <asm/thread_info.h> 26 - #include <asm/offsets.h> 26 + #include <asm/asm-offsets.h> 27 27 28 28 .text 29 29
+1 -1
arch/ppc/kernel/swsusp.S
··· 5 5 #include <asm/cputable.h> 6 6 #include <asm/thread_info.h> 7 7 #include <asm/ppc_asm.h> 8 - #include <asm/offsets.h> 8 + #include <asm/asm-offsets.h> 9 9 10 10 11 11 /*
+1 -1
arch/ppc/mm/hashtable.S
··· 30 30 #include <asm/cputable.h> 31 31 #include <asm/ppc_asm.h> 32 32 #include <asm/thread_info.h> 33 - #include <asm/offsets.h> 33 + #include <asm/asm-offsets.h> 34 34 35 35 #ifdef CONFIG_SMP 36 36 .comm mmu_hash_lock,4
+1 -1
arch/ppc/platforms/pmac_sleep.S
··· 17 17 #include <asm/cputable.h> 18 18 #include <asm/cache.h> 19 19 #include <asm/thread_info.h> 20 - #include <asm/offsets.h> 20 + #include <asm/asm-offsets.h> 21 21 22 22 #define MAGIC 0x4c617273 /* 'Lars' */ 23 23
-9
arch/ppc64/Makefile
··· 117 117 $(Q)$(MAKE) $(clean)=$(boot) 118 118 $(Q)rm -rf include3 119 119 120 - prepare: include/asm-ppc64/offsets.h 121 - 122 - arch/ppc64/kernel/asm-offsets.s: include/asm include/linux/version.h \ 123 - include/config/MARKER 124 - 125 - include/asm-ppc64/offsets.h: arch/ppc64/kernel/asm-offsets.s 126 - $(call filechk,gen-asm-offsets) 127 120 128 121 # Temporary hack until we have migrated to asm-powerpc 129 122 include/asm: include3/asm ··· 132 139 echo ' zImage - zImage for pSeries machines' 133 140 echo ' zImage.initrd - zImage with initrd for pSeries machines' 134 141 endef 135 - 136 - CLEAN_FILES += include/asm-ppc64/offsets.h
+1 -1
arch/ppc64/kernel/cpu_setup_power4.S
··· 15 15 #include <asm/ppc_asm.h> 16 16 #include <asm/cputable.h> 17 17 #include <asm/ppc_asm.h> 18 - #include <asm/offsets.h> 18 + #include <asm/asm-offsets.h> 19 19 #include <asm/cache.h> 20 20 21 21 _GLOBAL(__970_cpu_preinit)
+1 -1
arch/ppc64/kernel/entry.S
··· 28 28 #include <asm/mmu.h> 29 29 #include <asm/thread_info.h> 30 30 #include <asm/ppc_asm.h> 31 - #include <asm/offsets.h> 31 + #include <asm/asm-offsets.h> 32 32 #include <asm/cputable.h> 33 33 34 34 #ifdef CONFIG_PPC_ISERIES
+1 -1
arch/ppc64/kernel/head.S
··· 30 30 #include <asm/mmu.h> 31 31 #include <asm/systemcfg.h> 32 32 #include <asm/ppc_asm.h> 33 - #include <asm/offsets.h> 33 + #include <asm/asm-offsets.h> 34 34 #include <asm/bug.h> 35 35 #include <asm/cputable.h> 36 36 #include <asm/setup.h>
+1 -1
arch/ppc64/kernel/idle_power4.S
··· 20 20 #include <asm/cputable.h> 21 21 #include <asm/thread_info.h> 22 22 #include <asm/ppc_asm.h> 23 - #include <asm/offsets.h> 23 + #include <asm/asm-offsets.h> 24 24 25 25 #undef DEBUG 26 26
+1 -1
arch/ppc64/kernel/misc.S
··· 26 26 #include <asm/page.h> 27 27 #include <asm/cache.h> 28 28 #include <asm/ppc_asm.h> 29 - #include <asm/offsets.h> 29 + #include <asm/asm-offsets.h> 30 30 #include <asm/cputable.h> 31 31 32 32 .text
+1 -1
arch/ppc64/kernel/vdso32/cacheflush.S
··· 13 13 #include <asm/processor.h> 14 14 #include <asm/ppc_asm.h> 15 15 #include <asm/vdso.h> 16 - #include <asm/offsets.h> 16 + #include <asm/asm-offsets.h> 17 17 18 18 .text 19 19
+1 -1
arch/ppc64/kernel/vdso32/datapage.S
··· 12 12 #include <linux/config.h> 13 13 #include <asm/processor.h> 14 14 #include <asm/ppc_asm.h> 15 - #include <asm/offsets.h> 15 + #include <asm/asm-offsets.h> 16 16 #include <asm/unistd.h> 17 17 #include <asm/vdso.h> 18 18
+1 -1
arch/ppc64/kernel/vdso32/gettimeofday.S
··· 13 13 #include <asm/processor.h> 14 14 #include <asm/ppc_asm.h> 15 15 #include <asm/vdso.h> 16 - #include <asm/offsets.h> 16 + #include <asm/asm-offsets.h> 17 17 #include <asm/unistd.h> 18 18 19 19 .text
+1 -1
arch/ppc64/kernel/vdso64/cacheflush.S
··· 13 13 #include <asm/processor.h> 14 14 #include <asm/ppc_asm.h> 15 15 #include <asm/vdso.h> 16 - #include <asm/offsets.h> 16 + #include <asm/asm-offsets.h> 17 17 18 18 .text 19 19
+1 -1
arch/ppc64/kernel/vdso64/datapage.S
··· 12 12 #include <linux/config.h> 13 13 #include <asm/processor.h> 14 14 #include <asm/ppc_asm.h> 15 - #include <asm/offsets.h> 15 + #include <asm/asm-offsets.h> 16 16 #include <asm/unistd.h> 17 17 #include <asm/vdso.h> 18 18
+1 -1
arch/ppc64/kernel/vdso64/gettimeofday.S
··· 14 14 #include <asm/processor.h> 15 15 #include <asm/ppc_asm.h> 16 16 #include <asm/vdso.h> 17 - #include <asm/offsets.h> 17 + #include <asm/asm-offsets.h> 18 18 19 19 .text 20 20 /*
+1 -1
arch/ppc64/mm/hash_low.S
··· 16 16 #include <asm/page.h> 17 17 #include <asm/types.h> 18 18 #include <asm/ppc_asm.h> 19 - #include <asm/offsets.h> 19 + #include <asm/asm-offsets.h> 20 20 #include <asm/cputable.h> 21 21 22 22 .text
+1 -1
arch/ppc64/mm/slb_low.S
··· 21 21 #include <asm/page.h> 22 22 #include <asm/mmu.h> 23 23 #include <asm/ppc_asm.h> 24 - #include <asm/offsets.h> 24 + #include <asm/asm-offsets.h> 25 25 #include <asm/cputable.h> 26 26 27 27 /* void slb_allocate(unsigned long ea);
-10
arch/s390/Makefile
··· 102 102 archclean: 103 103 $(Q)$(MAKE) $(clean)=$(boot) 104 104 105 - prepare: include/asm-$(ARCH)/offsets.h 106 - 107 - arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ 108 - include/config/MARKER 109 - 110 - include/asm-$(ARCH)/offsets.h: arch/$(ARCH)/kernel/asm-offsets.s 111 - $(call filechk,gen-asm-offsets) 112 - 113 - CLEAN_FILES += include/asm-$(ARCH)/offsets.h 114 - 115 105 # Don't use tabs in echo arguments 116 106 define archhelp 117 107 echo '* image - Kernel image for IPL ($(boot)/image)'
+1 -1
arch/s390/kernel/entry.S
··· 18 18 #include <asm/errno.h> 19 19 #include <asm/ptrace.h> 20 20 #include <asm/thread_info.h> 21 - #include <asm/offsets.h> 21 + #include <asm/asm-offsets.h> 22 22 #include <asm/unistd.h> 23 23 #include <asm/page.h> 24 24
+1 -1
arch/s390/kernel/entry64.S
··· 18 18 #include <asm/errno.h> 19 19 #include <asm/ptrace.h> 20 20 #include <asm/thread_info.h> 21 - #include <asm/offsets.h> 21 + #include <asm/asm-offsets.h> 22 22 #include <asm/unistd.h> 23 23 #include <asm/page.h> 24 24
+1 -1
arch/s390/kernel/head.S
··· 30 30 #include <linux/config.h> 31 31 #include <asm/setup.h> 32 32 #include <asm/lowcore.h> 33 - #include <asm/offsets.h> 33 + #include <asm/asm-offsets.h> 34 34 #include <asm/thread_info.h> 35 35 #include <asm/page.h> 36 36
+1 -1
arch/s390/kernel/head64.S
··· 30 30 #include <linux/config.h> 31 31 #include <asm/setup.h> 32 32 #include <asm/lowcore.h> 33 - #include <asm/offsets.h> 33 + #include <asm/asm-offsets.h> 34 34 #include <asm/thread_info.h> 35 35 #include <asm/page.h> 36 36
+1 -1
arch/s390/lib/uaccess.S
··· 11 11 12 12 #include <linux/errno.h> 13 13 #include <asm/lowcore.h> 14 - #include <asm/offsets.h> 14 + #include <asm/asm-offsets.h> 15 15 16 16 .text 17 17 .align 4
+1 -1
arch/s390/lib/uaccess64.S
··· 11 11 12 12 #include <linux/errno.h> 13 13 #include <asm/lowcore.h> 14 - #include <asm/offsets.h> 14 + #include <asm/asm-offsets.h> 15 15 16 16 .text 17 17 .align 4
+2 -9
arch/sh/Makefile
··· 155 155 prepare: maketools include/asm-sh/.cpu include/asm-sh/.mach 156 156 157 157 .PHONY: maketools FORCE 158 - maketools: include/asm-sh/asm-offsets.h include/linux/version.h FORCE 158 + maketools: include/linux/version.h FORCE 159 159 $(Q)$(MAKE) $(build)=arch/sh/tools include/asm-sh/machtypes.h 160 160 161 161 all: zImage ··· 168 168 archclean: 169 169 $(Q)$(MAKE) $(clean)=$(boot) 170 170 171 - CLEAN_FILES += include/asm-sh/machtypes.h include/asm-sh/asm-offsets.h 172 - 173 - arch/sh/kernel/asm-offsets.s: include/asm include/linux/version.h \ 174 - include/asm-sh/.cpu include/asm-sh/.mach 175 - 176 - include/asm-sh/asm-offsets.h: arch/sh/kernel/asm-offsets.s 177 - $(call filechk,gen-asm-offsets) 178 - 171 + CLEAN_FILES += include/asm-sh/machtypes.h 179 172 180 173 define archhelp 181 174 @echo ' zImage - Compressed kernel image (arch/sh/boot/zImage)'
+2 -6
arch/sh64/Makefile
··· 73 73 archclean: 74 74 $(Q)$(MAKE) $(clean)=$(boot) 75 75 76 - prepare: include/asm-$(ARCH)/asm-offsets.h arch/$(ARCH)/lib/syscalltab.h 77 - 78 - include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.s \ 79 - include/asm include/linux/version.h 80 - $(call filechk,gen-asm-offsets) 76 + prepare: arch/$(ARCH)/lib/syscalltab.h 81 77 82 78 define filechk_gen-syscalltab 83 79 (set -e; \ ··· 104 108 arch/$(ARCH)/lib/syscalltab.h: arch/sh64/kernel/syscalls.S 105 109 $(call filechk,gen-syscalltab) 106 110 107 - CLEAN_FILES += include/asm-$(ARCH)/asm-offsets.h arch/$(ARCH)/lib/syscalltab.h 111 + CLEAN_FILES += arch/$(ARCH)/lib/syscalltab.h 108 112 109 113 define archhelp 110 114 @echo ' zImage - Compressed kernel image (arch/sh64/boot/zImage)'
+1 -11
arch/sparc/Makefile
··· 59 59 archclean: 60 60 $(Q)$(MAKE) $(clean)=$(boot) 61 61 62 - prepare: include/asm-$(ARCH)/asm_offsets.h 63 - 64 - arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ 65 - include/config/MARKER 66 - 67 - include/asm-$(ARCH)/asm_offsets.h: arch/$(ARCH)/kernel/asm-offsets.s 68 - $(call filechk,gen-asm-offsets) 69 - 70 - CLEAN_FILES += include/asm-$(ARCH)/asm_offsets.h \ 71 - arch/$(ARCH)/kernel/asm-offsets.s \ 72 - arch/$(ARCH)/boot/System.map 62 + CLEAN_FILES += arch/$(ARCH)/boot/System.map 73 63 74 64 # Don't use tabs in echo arguments. 75 65 define archhelp
+1 -1
arch/sparc/kernel/entry.S
··· 17 17 #include <asm/kgdb.h> 18 18 #include <asm/contregs.h> 19 19 #include <asm/ptrace.h> 20 - #include <asm/asm_offsets.h> 20 + #include <asm/asm-offsets.h> 21 21 #include <asm/psr.h> 22 22 #include <asm/vaddrs.h> 23 23 #include <asm/memreg.h>
+1 -1
arch/sparc/kernel/sclow.S
··· 7 7 */ 8 8 9 9 #include <asm/ptrace.h> 10 - #include <asm/asm_offsets.h> 10 + #include <asm/asm-offsets.h> 11 11 #include <asm/errno.h> 12 12 #include <asm/winmacro.h> 13 13 #include <asm/thread_info.h>
+1 -1
arch/sparc/mm/hypersparc.S
··· 6 6 7 7 #include <asm/ptrace.h> 8 8 #include <asm/psr.h> 9 - #include <asm/asm_offsets.h> 9 + #include <asm/asm-offsets.h> 10 10 #include <asm/asi.h> 11 11 #include <asm/page.h> 12 12 #include <asm/pgtsrmmu.h>
+1 -1
arch/sparc/mm/swift.S
··· 9 9 #include <asm/asi.h> 10 10 #include <asm/page.h> 11 11 #include <asm/pgtsrmmu.h> 12 - #include <asm/asm_offsets.h> 12 + #include <asm/asm-offsets.h> 13 13 14 14 .text 15 15 .align 4
+1 -1
arch/sparc/mm/tsunami.S
··· 6 6 7 7 #include <linux/config.h> 8 8 #include <asm/ptrace.h> 9 - #include <asm/asm_offsets.h> 9 + #include <asm/asm-offsets.h> 10 10 #include <asm/psr.h> 11 11 #include <asm/asi.h> 12 12 #include <asm/page.h>
+1 -1
arch/sparc/mm/viking.S
··· 9 9 #include <linux/config.h> 10 10 #include <asm/ptrace.h> 11 11 #include <asm/psr.h> 12 - #include <asm/asm_offsets.h> 12 + #include <asm/asm-offsets.h> 13 13 #include <asm/asi.h> 14 14 #include <asm/mxcc.h> 15 15 #include <asm/page.h>
+1
arch/sparc64/kernel/asm-offsets.c
··· 1 + /* Dummy asm-offsets.c file. Required by kbuild and ready to be used - hint! */
+16
arch/um/Makefile
··· 197 197 sed 's/ CONFIG/ UML_CONFIG/' 198 198 endef 199 199 200 + define filechk_gen-asm-offsets 201 + (set -e; \ 202 + echo "#ifndef __ASM_OFFSETS_H__"; \ 203 + echo "#define __ASM_OFFSETS_H__"; \ 204 + echo "/*"; \ 205 + echo " * DO NOT MODIFY."; \ 206 + echo " *"; \ 207 + echo " * This file was generated by arch/$(ARCH)/Makefile"; \ 208 + echo " *"; \ 209 + echo " */"; \ 210 + echo ""; \ 211 + sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"; \ 212 + echo ""; \ 213 + echo "#endif" ) 214 + endef 215 + 200 216 $(ARCH_DIR)/include/uml-config.h : include/linux/autoconf.h 201 217 $(call filechk,umlconfig) 202 218
+1
arch/um/kernel/asm-offsets.c
··· 1 + /* Dummy file to make kbuild happy - unused! */
+1 -13
arch/v850/Makefile
··· 51 51 $(OBJCOPY) $(OBJCOPY_FLAGS_BLOB) --rename-section .data=.root,alloc,load,readonly,data,contents $< root_fs_image.o 52 52 endif 53 53 54 - 55 - prepare: include/asm-$(ARCH)/asm-consts.h 56 - 57 - # Generate constants from C code for use by asm files 58 - arch/$(ARCH)/kernel/asm-consts.s: include/asm include/linux/version.h \ 59 - include/config/MARKER 60 - 61 - include/asm-$(ARCH)/asm-consts.h: arch/$(ARCH)/kernel/asm-consts.s 62 - $(call filechk,gen-asm-offsets) 63 - 64 - CLEAN_FILES += include/asm-$(ARCH)/asm-consts.h \ 65 - arch/$(ARCH)/kernel/asm-consts.s \ 66 - root_fs_image.o 54 + CLEAN_FILES += root_fs_image.o
arch/v850/kernel/asm-consts.c arch/v850/kernel/asm-offsets.c
+1 -1
arch/v850/kernel/entry.S
··· 22 22 #include <asm/irq.h> 23 23 #include <asm/errno.h> 24 24 25 - #include <asm/asm-consts.h> 25 + #include <asm/asm-offsets.h> 26 26 27 27 28 28 /* Make a slightly more convenient alias for C_SYMBOL_NAME. */
-10
arch/x86_64/Makefile
··· 86 86 archclean: 87 87 $(Q)$(MAKE) $(clean)=$(boot) 88 88 89 - prepare: include/asm-$(ARCH)/offset.h 90 - 91 - arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ 92 - include/config/MARKER 93 - 94 - include/asm-$(ARCH)/offset.h: arch/$(ARCH)/kernel/asm-offsets.s 95 - $(call filechk,gen-asm-offsets) 96 - 97 - CLEAN_FILES += include/asm-$(ARCH)/offset.h 98 - 99 89 define archhelp 100 90 echo '* bzImage - Compressed kernel image (arch/$(ARCH)/boot/bzImage)' 101 91 echo ' install - Install kernel using'
+1 -1
arch/x86_64/ia32/ia32entry.S
··· 6 6 7 7 #include <asm/dwarf2.h> 8 8 #include <asm/calling.h> 9 - #include <asm/offset.h> 9 + #include <asm/asm-offsets.h> 10 10 #include <asm/current.h> 11 11 #include <asm/errno.h> 12 12 #include <asm/ia32_unistd.h>
+1 -1
arch/x86_64/ia32/vsyscall-syscall.S
··· 3 3 */ 4 4 5 5 #include <asm/ia32_unistd.h> 6 - #include <asm/offset.h> 6 + #include <asm/asm-offsets.h> 7 7 #include <asm/segment.h> 8 8 9 9 .text
+1 -1
arch/x86_64/ia32/vsyscall-sysenter.S
··· 3 3 */ 4 4 5 5 #include <asm/ia32_unistd.h> 6 - #include <asm/offset.h> 6 + #include <asm/asm-offsets.h> 7 7 8 8 .text 9 9 .section .text.vsyscall,"ax"
+1 -1
arch/x86_64/kernel/entry.S
··· 36 36 #include <asm/errno.h> 37 37 #include <asm/dwarf2.h> 38 38 #include <asm/calling.h> 39 - #include <asm/offset.h> 39 + #include <asm/asm-offsets.h> 40 40 #include <asm/msr.h> 41 41 #include <asm/unistd.h> 42 42 #include <asm/thread_info.h>
+1 -1
arch/x86_64/kernel/suspend_asm.S
··· 14 14 #include <linux/linkage.h> 15 15 #include <asm/segment.h> 16 16 #include <asm/page.h> 17 - #include <asm/offset.h> 17 + #include <asm/asm-offsets.h> 18 18 19 19 ENTRY(swsusp_arch_suspend) 20 20
+1 -1
arch/x86_64/lib/copy_user.S
··· 7 7 #define FIX_ALIGNMENT 1 8 8 9 9 #include <asm/current.h> 10 - #include <asm/offset.h> 10 + #include <asm/asm-offsets.h> 11 11 #include <asm/thread_info.h> 12 12 #include <asm/cpufeature.h> 13 13
+1 -1
arch/x86_64/lib/getuser.S
··· 29 29 #include <linux/linkage.h> 30 30 #include <asm/page.h> 31 31 #include <asm/errno.h> 32 - #include <asm/offset.h> 32 + #include <asm/asm-offsets.h> 33 33 #include <asm/thread_info.h> 34 34 35 35 .text
+1 -1
arch/x86_64/lib/putuser.S
··· 27 27 #include <linux/linkage.h> 28 28 #include <asm/page.h> 29 29 #include <asm/errno.h> 30 - #include <asm/offset.h> 30 + #include <asm/asm-offsets.h> 31 31 #include <asm/thread_info.h> 32 32 33 33 .text
+2 -8
arch/xtensa/Makefile
··· 66 66 67 67 archinc := include/asm-xtensa 68 68 69 - arch/xtensa/kernel/asm-offsets.s: \ 70 - arch/xtensa/kernel/asm-offsets.c $(archinc)/.platform 71 - 72 - include/asm-xtensa/offsets.h: arch/xtensa/kernel/asm-offsets.s 73 - $(call filechk,gen-asm-offsets) 74 - 75 - prepare: $(archinc)/.platform $(archinc)/offsets.h 69 + prepare: $(archinc)/.platform 76 70 77 71 # Update machine cpu and platform symlinks if something which affects 78 72 # them changed. ··· 88 94 zImage zImage.initrd: vmlinux 89 95 $(Q)$(MAKE) $(build)=$(boot) $@ 90 96 91 - CLEAN_FILES += arch/xtensa/vmlinux.lds $(archinc)/offset.h \ 97 + CLEAN_FILES += arch/xtensa/vmlinux.lds \ 92 98 $(archinc)/platform $(archinc)/xtensa/config \ 93 99 $(archinc)/.platform 94 100
+1 -1
arch/xtensa/kernel/align.S
··· 19 19 #include <asm/ptrace.h> 20 20 #include <asm/ptrace.h> 21 21 #include <asm/current.h> 22 - #include <asm/offsets.h> 22 + #include <asm/asm-offsets.h> 23 23 #include <asm/pgtable.h> 24 24 #include <asm/processor.h> 25 25 #include <asm/page.h>
+1 -1
arch/xtensa/kernel/entry.S
··· 14 14 */ 15 15 16 16 #include <linux/linkage.h> 17 - #include <asm/offsets.h> 17 + #include <asm/asm-offsets.h> 18 18 #include <asm/processor.h> 19 19 #include <asm/thread_info.h> 20 20 #include <asm/uaccess.h>
+1 -1
arch/xtensa/kernel/process.c
··· 43 43 #include <asm/mmu.h> 44 44 #include <asm/irq.h> 45 45 #include <asm/atomic.h> 46 - #include <asm/offsets.h> 46 + #include <asm/asm-offsets.h> 47 47 #include <asm/coprocessor.h> 48 48 49 49 extern void ret_from_fork(void);
+1 -1
arch/xtensa/kernel/vectors.S
··· 46 46 #include <asm/ptrace.h> 47 47 #include <asm/ptrace.h> 48 48 #include <asm/current.h> 49 - #include <asm/offsets.h> 49 + #include <asm/asm-offsets.h> 50 50 #include <asm/pgtable.h> 51 51 #include <asm/processor.h> 52 52 #include <asm/page.h>
+1 -1
include/asm-i386/thread_info.h
··· 48 48 49 49 #else /* !__ASSEMBLY__ */ 50 50 51 - #include <asm/asm_offsets.h> 51 + #include <asm/asm-offsets.h> 52 52 53 53 #endif 54 54
+1 -1
include/asm-ia64/ptrace.h
··· 57 57 #include <linux/config.h> 58 58 59 59 #include <asm/fpu.h> 60 - #include <asm/offsets.h> 60 + #include <asm/asm-offsets.h> 61 61 62 62 /* 63 63 * Base-2 logarithm of number of pages to allocate per task structure
+1 -1
include/asm-ia64/thread_info.h
··· 5 5 #ifndef _ASM_IA64_THREAD_INFO_H 6 6 #define _ASM_IA64_THREAD_INFO_H 7 7 8 - #include <asm/offsets.h> 8 + #include <asm/asm-offsets.h> 9 9 #include <asm/processor.h> 10 10 #include <asm/ptrace.h> 11 11
+1 -1
include/asm-mips/asmmacro-32.h
··· 7 7 #ifndef _ASM_ASMMACRO_32_H 8 8 #define _ASM_ASMMACRO_32_H 9 9 10 - #include <asm/offset.h> 10 + #include <asm/asm-offsets.h> 11 11 #include <asm/regdef.h> 12 12 #include <asm/fpregdef.h> 13 13 #include <asm/mipsregs.h>
+1 -1
include/asm-mips/asmmacro-64.h
··· 8 8 #ifndef _ASM_ASMMACRO_64_H 9 9 #define _ASM_ASMMACRO_64_H 10 10 11 - #include <asm/offset.h> 11 + #include <asm/asm-offsets.h> 12 12 #include <asm/regdef.h> 13 13 #include <asm/fpregdef.h> 14 14 #include <asm/mipsregs.h>
+1 -1
include/asm-mips/sim.h
··· 11 11 12 12 #include <linux/config.h> 13 13 14 - #include <asm/offset.h> 14 + #include <asm/asm-offsets.h> 15 15 16 16 #define __str2(x) #x 17 17 #define __str(x) __str2(x)
+1 -1
include/asm-mips/stackframe.h
··· 15 15 16 16 #include <asm/asm.h> 17 17 #include <asm/mipsregs.h> 18 - #include <asm/offset.h> 18 + #include <asm/asm-offsets.h> 19 19 20 20 .macro SAVE_AT 21 21 .set push
+1 -1
include/asm-parisc/assembly.h
··· 63 63 .level 2.0w 64 64 #endif 65 65 66 - #include <asm/offsets.h> 66 + #include <asm/asm-offsets.h> 67 67 #include <asm/page.h> 68 68 69 69 #include <asm/asmregs.h>
+2 -2
include/asm-sparc/ptrace.h
··· 73 73 #endif 74 74 75 75 /* 76 - * The asm_offsets.h is a generated file, so we cannot include it. 76 + * The asm-offsets.h is a generated file, so we cannot include it. 77 77 * It may be OK for glibc headers, but it's utterly pointless for C code. 78 78 * The assembly code using those offsets has to include it explicitly. 79 79 */ 80 - /* #include <asm/asm_offsets.h> */ 80 + /* #include <asm/asm-offsets.h> */ 81 81 82 82 /* These are for pt_regs. */ 83 83 #define PT_PSR 0x0
+1 -1
include/asm-x86_64/current.h
··· 17 17 #else 18 18 19 19 #ifndef ASM_OFFSET_H 20 - #include <asm/offset.h> 20 + #include <asm/asm-offsets.h> 21 21 #endif 22 22 23 23 #define GET_CURRENT(reg) movq %gs:(pda_pcurrent),reg
+1 -1
include/asm-xtensa/ptrace.h
··· 127 127 #else /* __ASSEMBLY__ */ 128 128 129 129 #ifdef __KERNEL__ 130 - # include <asm/offsets.h> 130 + # include <asm/asm-offsets.h> 131 131 #define PT_REGS_OFFSET (KERNEL_STACK_SIZE - PT_USER_SIZE) 132 132 #endif 133 133
+1 -1
include/asm-xtensa/uaccess.h
··· 25 25 26 26 #define _ASMLANGUAGE 27 27 #include <asm/current.h> 28 - #include <asm/offsets.h> 28 + #include <asm/asm-offsets.h> 29 29 #include <asm/processor.h> 30 30 31 31 /*