Commit 0013a854 authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

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: default avatarSam Ravnborg <sam@ravnborg.org>
parent 47003497
......@@ -113,14 +113,5 @@ else
bzip2 -1c vmlinux >vmlinux.bz2
endif
prepare: include/asm-$(ARCH)/offsets.h
CLEAN_FILES += include/asm-$(ARCH)/offsets.h
arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
include/config/MARKER
include/asm-$(ARCH)/offsets.h: arch/$(ARCH)/kernel/asm-offsets.s
$(call filechk,gen-asm-offsets)
archclean:
rm -f vmlinux.gz vmlinux.bz2
......@@ -40,7 +40,7 @@
#include <linux/linkage.h>
#include <asm/entry.h>
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
|SKELETON idnt 2,1 | Motorola 040 Floating Point Software Package
......
......@@ -36,7 +36,7 @@
#include <linux/linkage.h>
#include <asm/entry.h>
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
|################################
......
......@@ -42,7 +42,7 @@
#include <asm/traps.h>
#include <asm/unistd.h>
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
.globl system_call, buserr, trap
.globl resume, ret_from_exception
......
......@@ -263,7 +263,7 @@
#include <asm/entry.h>
#include <asm/pgtable.h>
#include <asm/page.h>
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
#ifdef CONFIG_MAC
......
......@@ -39,7 +39,7 @@
#define _FP_EMU_H
#ifdef __ASSEMBLY__
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
#endif
#include <asm/math-emu.h>
......
......@@ -100,15 +100,7 @@ kernel_install: vmlinux
install: kernel_install modules_install
prepare: include/asm-parisc/offsets.h
arch/parisc/kernel/asm-offsets.s: include/asm include/linux/version.h \
include/config/MARKER
include/asm-parisc/offsets.h: arch/parisc/kernel/asm-offsets.s
$(call filechk,gen-asm-offsets)
CLEAN_FILES += lifimage include/asm-parisc/offsets.h
CLEAN_FILES += lifimage
MRPROPER_FILES += palo.conf
define archhelp
......
......@@ -9,7 +9,7 @@
*/
#include <asm/assembly.h>
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
#include <asm/unistd.h>
#include <asm/errno.h>
......
......@@ -24,7 +24,7 @@
#warning PA64 support needs more work...did first cut
#endif
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
#include <asm/assembly.h>
#include <asm/signal.h>
......
......@@ -23,7 +23,7 @@
*/
#include <linux/config.h>
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
/* we have the following possibilities to act on an interruption:
* - handle in assembly and use shadowed registers only
......
......@@ -14,7 +14,7 @@
#include <linux/autoconf.h> /* for CONFIG_SMP */
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
#include <asm/psw.h>
#include <asm/pdc.h>
......
......@@ -47,7 +47,7 @@
#include <linux/kallsyms.h>
#include <asm/io.h>
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
#include <asm/pdc.h>
#include <asm/pdc_chassis.h>
#include <asm/pgalloc.h>
......
......@@ -23,7 +23,7 @@
#include <asm/pgtable.h>
#include <asm/system.h>
#include <asm/processor.h>
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
/* PSW bits we allow the debugger to modify */
#define USER_PSW_BITS (PSW_N | PSW_V | PSW_CB)
......
......@@ -32,7 +32,7 @@
#include <asm/uaccess.h>
#include <asm/pgalloc.h>
#include <asm/cacheflush.h>
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
#ifdef CONFIG_COMPAT
#include <linux/compat.h>
......
......@@ -7,7 +7,7 @@
* sorry about the wall, puffin..
*/
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
#include <asm/unistd.h>
#include <asm/errno.h>
#include <asm/psw.h>
......
......@@ -20,7 +20,7 @@
* Fixup routines for kernel exception handling.
*/
#include <linux/config.h>
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
#include <asm/assembly.h>
#include <asm/errno.h>
......
......@@ -105,13 +105,7 @@ archclean:
$(Q)$(MAKE) $(clean)=arch/ppc/boot
$(Q)rm -rf include3
prepare: include/asm-$(ARCH)/offsets.h checkbin
arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \
include/config/MARKER
include/asm-$(ARCH)/offsets.h: arch/$(ARCH)/kernel/asm-offsets.s
$(call filechk,gen-asm-offsets)
prepare: checkbin
# Temporary hack until we have migrated to asm-powerpc
include/asm: include3/asm
......@@ -143,7 +137,5 @@ checkbin:
false ; \
fi
CLEAN_FILES += include/asm-$(ARCH)/offsets.h \
arch/$(ARCH)/kernel/asm-offsets.s \
$(TOUT)
CLEAN_FILES += $(TOUT)
......@@ -15,7 +15,7 @@
#include <asm/ppc_asm.h>
#include <asm/cputable.h>
#include <asm/ppc_asm.h>
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
#include <asm/cache.h>
_GLOBAL(__setup_cpu_601)
......
......@@ -15,7 +15,7 @@
#include <asm/ppc_asm.h>
#include <asm/cputable.h>
#include <asm/ppc_asm.h>
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
#include <asm/cache.h>
_GLOBAL(__970_cpu_preinit)
......
......@@ -29,7 +29,7 @@
#include <asm/cputable.h>
#include <asm/thread_info.h>
#include <asm/ppc_asm.h>
#include <asm/offsets.h>
#include <asm/asm-offsets.h>
#include <asm/unistd.h>
#undef SHOW_SYSCALLS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment