You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07: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 <sam@ravnborg.org>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user