mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support
Delete obsoleted parts form arch makefiles and rename to asm-offsets.h Signed-off-by: Sam Ravnborg <[email protected]>
This commit is contained in:
parent
47003497dd
commit
0013a85454
63 changed files with 62 additions and 112 deletions
|
|
@ -66,13 +66,7 @@ boot := arch/xtensa/boot
|
|||
|
||||
archinc := include/asm-xtensa
|
||||
|
||||
arch/xtensa/kernel/asm-offsets.s: \
|
||||
arch/xtensa/kernel/asm-offsets.c $(archinc)/.platform
|
||||
|
||||
include/asm-xtensa/offsets.h: arch/xtensa/kernel/asm-offsets.s
|
||||
$(call filechk,gen-asm-offsets)
|
||||
|
||||
prepare: $(archinc)/.platform $(archinc)/offsets.h
|
||||
prepare: $(archinc)/.platform
|
||||
|
||||
# Update machine cpu and platform symlinks if something which affects
|
||||
# them changed.
|
||||
|
|
@ -94,7 +88,7 @@ bzImage : zImage
|
|||
zImage zImage.initrd: vmlinux
|
||||
$(Q)$(MAKE) $(build)=$(boot) $@
|
||||
|
||||
CLEAN_FILES += arch/xtensa/vmlinux.lds $(archinc)/offset.h \
|
||||
CLEAN_FILES += arch/xtensa/vmlinux.lds \
|
||||
$(archinc)/platform $(archinc)/xtensa/config \
|
||||
$(archinc)/.platform
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
#include <asm/ptrace.h>
|
||||
#include <asm/ptrace.h>
|
||||
#include <asm/current.h>
|
||||
#include <asm/offsets.h>
|
||||
#include <asm/asm-offsets.h>
|
||||
#include <asm/pgtable.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/page.h>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
|
||||
#include <linux/linkage.h>
|
||||
#include <asm/offsets.h>
|
||||
#include <asm/asm-offsets.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/thread_info.h>
|
||||
#include <asm/uaccess.h>
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
#include <asm/mmu.h>
|
||||
#include <asm/irq.h>
|
||||
#include <asm/atomic.h>
|
||||
#include <asm/offsets.h>
|
||||
#include <asm/asm-offsets.h>
|
||||
#include <asm/coprocessor.h>
|
||||
|
||||
extern void ret_from_fork(void);
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
#include <asm/ptrace.h>
|
||||
#include <asm/ptrace.h>
|
||||
#include <asm/current.h>
|
||||
#include <asm/offsets.h>
|
||||
#include <asm/asm-offsets.h>
|
||||
#include <asm/pgtable.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/page.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue