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

kbuild: v850 use generic asm-offsets.h support

Deleted obsolete stuff from arch makefile
Renamed .c file to asm-offsets.h
Fix include of asm-offsets.h to use new name

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

+2 -14
+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. */