forked from Minki/linux
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:
parent
47003497dd
commit
0013a85454
@ -113,14 +113,5 @@ else
|
|||||||
bzip2 -1c vmlinux >vmlinux.bz2
|
bzip2 -1c vmlinux >vmlinux.bz2
|
||||||
endif
|
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:
|
archclean:
|
||||||
rm -f vmlinux.gz vmlinux.bz2
|
rm -f vmlinux.gz vmlinux.bz2
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#include <linux/linkage.h>
|
#include <linux/linkage.h>
|
||||||
#include <asm/entry.h>
|
#include <asm/entry.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
|SKELETON idnt 2,1 | Motorola 040 Floating Point Software Package
|
|SKELETON idnt 2,1 | Motorola 040 Floating Point Software Package
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
#include <linux/linkage.h>
|
#include <linux/linkage.h>
|
||||||
#include <asm/entry.h>
|
#include <asm/entry.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
|
|
||||||
|################################
|
|################################
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
#include <asm/traps.h>
|
#include <asm/traps.h>
|
||||||
#include <asm/unistd.h>
|
#include <asm/unistd.h>
|
||||||
|
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
.globl system_call, buserr, trap
|
.globl system_call, buserr, trap
|
||||||
.globl resume, ret_from_exception
|
.globl resume, ret_from_exception
|
||||||
|
@ -263,7 +263,7 @@
|
|||||||
#include <asm/entry.h>
|
#include <asm/entry.h>
|
||||||
#include <asm/pgtable.h>
|
#include <asm/pgtable.h>
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
#ifdef CONFIG_MAC
|
#ifdef CONFIG_MAC
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#define _FP_EMU_H
|
#define _FP_EMU_H
|
||||||
|
|
||||||
#ifdef __ASSEMBLY__
|
#ifdef __ASSEMBLY__
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#endif
|
#endif
|
||||||
#include <asm/math-emu.h>
|
#include <asm/math-emu.h>
|
||||||
|
|
||||||
|
@ -100,15 +100,7 @@ kernel_install: vmlinux
|
|||||||
|
|
||||||
install: kernel_install modules_install
|
install: kernel_install modules_install
|
||||||
|
|
||||||
prepare: include/asm-parisc/offsets.h
|
CLEAN_FILES += lifimage
|
||||||
|
|
||||||
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
|
|
||||||
MRPROPER_FILES += palo.conf
|
MRPROPER_FILES += palo.conf
|
||||||
|
|
||||||
define archhelp
|
define archhelp
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <asm/assembly.h>
|
#include <asm/assembly.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/unistd.h>
|
#include <asm/unistd.h>
|
||||||
#include <asm/errno.h>
|
#include <asm/errno.h>
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#warning PA64 support needs more work...did first cut
|
#warning PA64 support needs more work...did first cut
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/assembly.h>
|
#include <asm/assembly.h>
|
||||||
#include <asm/signal.h>
|
#include <asm/signal.h>
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
/* we have the following possibilities to act on an interruption:
|
/* we have the following possibilities to act on an interruption:
|
||||||
* - handle in assembly and use shadowed registers only
|
* - handle in assembly and use shadowed registers only
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include <linux/autoconf.h> /* for CONFIG_SMP */
|
#include <linux/autoconf.h> /* for CONFIG_SMP */
|
||||||
|
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/psw.h>
|
#include <asm/psw.h>
|
||||||
#include <asm/pdc.h>
|
#include <asm/pdc.h>
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
#include <linux/kallsyms.h>
|
#include <linux/kallsyms.h>
|
||||||
|
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/pdc.h>
|
#include <asm/pdc.h>
|
||||||
#include <asm/pdc_chassis.h>
|
#include <asm/pdc_chassis.h>
|
||||||
#include <asm/pgalloc.h>
|
#include <asm/pgalloc.h>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include <asm/pgtable.h>
|
#include <asm/pgtable.h>
|
||||||
#include <asm/system.h>
|
#include <asm/system.h>
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
/* PSW bits we allow the debugger to modify */
|
/* PSW bits we allow the debugger to modify */
|
||||||
#define USER_PSW_BITS (PSW_N | PSW_V | PSW_CB)
|
#define USER_PSW_BITS (PSW_N | PSW_V | PSW_CB)
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
#include <asm/uaccess.h>
|
#include <asm/uaccess.h>
|
||||||
#include <asm/pgalloc.h>
|
#include <asm/pgalloc.h>
|
||||||
#include <asm/cacheflush.h>
|
#include <asm/cacheflush.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
#ifdef CONFIG_COMPAT
|
#ifdef CONFIG_COMPAT
|
||||||
#include <linux/compat.h>
|
#include <linux/compat.h>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* sorry about the wall, puffin..
|
* sorry about the wall, puffin..
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/unistd.h>
|
#include <asm/unistd.h>
|
||||||
#include <asm/errno.h>
|
#include <asm/errno.h>
|
||||||
#include <asm/psw.h>
|
#include <asm/psw.h>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
* Fixup routines for kernel exception handling.
|
* Fixup routines for kernel exception handling.
|
||||||
*/
|
*/
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/assembly.h>
|
#include <asm/assembly.h>
|
||||||
#include <asm/errno.h>
|
#include <asm/errno.h>
|
||||||
|
|
||||||
|
@ -105,13 +105,7 @@ archclean:
|
|||||||
$(Q)$(MAKE) $(clean)=arch/ppc/boot
|
$(Q)$(MAKE) $(clean)=arch/ppc/boot
|
||||||
$(Q)rm -rf include3
|
$(Q)rm -rf include3
|
||||||
|
|
||||||
prepare: include/asm-$(ARCH)/offsets.h checkbin
|
prepare: 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)
|
|
||||||
|
|
||||||
# Temporary hack until we have migrated to asm-powerpc
|
# Temporary hack until we have migrated to asm-powerpc
|
||||||
include/asm: include3/asm
|
include/asm: include3/asm
|
||||||
@ -143,7 +137,5 @@ checkbin:
|
|||||||
false ; \
|
false ; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CLEAN_FILES += include/asm-$(ARCH)/offsets.h \
|
CLEAN_FILES += $(TOUT)
|
||||||
arch/$(ARCH)/kernel/asm-offsets.s \
|
|
||||||
$(TOUT)
|
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/cache.h>
|
#include <asm/cache.h>
|
||||||
|
|
||||||
_GLOBAL(__setup_cpu_601)
|
_GLOBAL(__setup_cpu_601)
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/cache.h>
|
#include <asm/cache.h>
|
||||||
|
|
||||||
_GLOBAL(__970_cpu_preinit)
|
_GLOBAL(__970_cpu_preinit)
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/unistd.h>
|
#include <asm/unistd.h>
|
||||||
|
|
||||||
#undef SHOW_SYSCALLS
|
#undef SHOW_SYSCALLS
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include <asm/cache.h>
|
#include <asm/cache.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This task wants to use the FPU now.
|
* This task wants to use the FPU now.
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
#include <asm/cache.h>
|
#include <asm/cache.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
#ifdef CONFIG_APUS
|
#ifdef CONFIG_APUS
|
||||||
#include <asm/amigappc.h>
|
#include <asm/amigappc.h>
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include "head_booke.h"
|
#include "head_booke.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
/* As with the other PowerPC ports, it is expected that when code
|
/* As with the other PowerPC ports, it is expected that when code
|
||||||
* execution begins here, the following registers contain valid, yet
|
* execution begins here, the following registers contain valid, yet
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
/* Macro to make the code more readable. */
|
/* Macro to make the code more readable. */
|
||||||
#ifdef CONFIG_8xx_CPU6
|
#ifdef CONFIG_8xx_CPU6
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include "head_booke.h"
|
#include "head_booke.h"
|
||||||
|
|
||||||
/* As with the other PowerPC ports, it is expected that when code
|
/* As with the other PowerPC ports, it is expected that when code
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
#undef DEBUG
|
#undef DEBUG
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
#undef DEBUG
|
#undef DEBUG
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include <asm/mmu.h>
|
#include <asm/mmu.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
.comm mmu_hash_lock,4
|
.comm mmu_hash_lock,4
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/cache.h>
|
#include <asm/cache.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
#define MAGIC 0x4c617273 /* 'Lars' */
|
#define MAGIC 0x4c617273 /* 'Lars' */
|
||||||
|
|
||||||
|
@ -116,13 +116,6 @@ archclean:
|
|||||||
$(Q)$(MAKE) $(clean)=$(boot)
|
$(Q)$(MAKE) $(clean)=$(boot)
|
||||||
$(Q)rm -rf include3
|
$(Q)rm -rf include3
|
||||||
|
|
||||||
prepare: include/asm-ppc64/offsets.h
|
|
||||||
|
|
||||||
arch/ppc64/kernel/asm-offsets.s: include/asm include/linux/version.h \
|
|
||||||
include/config/MARKER
|
|
||||||
|
|
||||||
include/asm-ppc64/offsets.h: arch/ppc64/kernel/asm-offsets.s
|
|
||||||
$(call filechk,gen-asm-offsets)
|
|
||||||
|
|
||||||
# Temporary hack until we have migrated to asm-powerpc
|
# Temporary hack until we have migrated to asm-powerpc
|
||||||
include/asm: include3/asm
|
include/asm: include3/asm
|
||||||
@ -136,5 +129,3 @@ define archhelp
|
|||||||
echo ' sourced from arch/$(ARCH)/boot/ramdisk.image.gz'
|
echo ' sourced from arch/$(ARCH)/boot/ramdisk.image.gz'
|
||||||
echo ' (arch/$(ARCH)/boot/zImage.initrd)'
|
echo ' (arch/$(ARCH)/boot/zImage.initrd)'
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CLEAN_FILES += include/asm-ppc64/offsets.h
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/cache.h>
|
#include <asm/cache.h>
|
||||||
|
|
||||||
_GLOBAL(__970_cpu_preinit)
|
_GLOBAL(__970_cpu_preinit)
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#include <asm/mmu.h>
|
#include <asm/mmu.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
|
|
||||||
#ifdef CONFIG_PPC_ISERIES
|
#ifdef CONFIG_PPC_ISERIES
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include <asm/mmu.h>
|
#include <asm/mmu.h>
|
||||||
#include <asm/systemcfg.h>
|
#include <asm/systemcfg.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/bug.h>
|
#include <asm/bug.h>
|
||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/setup.h>
|
#include <asm/setup.h>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
#undef DEBUG
|
#undef DEBUG
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
#include <asm/cache.h>
|
#include <asm/cache.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/vdso.h>
|
#include <asm/vdso.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/unistd.h>
|
#include <asm/unistd.h>
|
||||||
#include <asm/vdso.h>
|
#include <asm/vdso.h>
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/vdso.h>
|
#include <asm/vdso.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/unistd.h>
|
#include <asm/unistd.h>
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/vdso.h>
|
#include <asm/vdso.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/unistd.h>
|
#include <asm/unistd.h>
|
||||||
#include <asm/vdso.h>
|
#include <asm/vdso.h>
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/vdso.h>
|
#include <asm/vdso.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
.text
|
.text
|
||||||
/*
|
/*
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
#include <asm/types.h>
|
#include <asm/types.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
#include <asm/mmu.h>
|
#include <asm/mmu.h>
|
||||||
#include <asm/ppc_asm.h>
|
#include <asm/ppc_asm.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/cputable.h>
|
#include <asm/cputable.h>
|
||||||
|
|
||||||
/* void slb_allocate(unsigned long ea);
|
/* void slb_allocate(unsigned long ea);
|
||||||
|
@ -100,16 +100,6 @@ image: vmlinux
|
|||||||
archclean:
|
archclean:
|
||||||
$(Q)$(MAKE) $(clean)=$(boot)
|
$(Q)$(MAKE) $(clean)=$(boot)
|
||||||
|
|
||||||
prepare: 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)
|
|
||||||
|
|
||||||
CLEAN_FILES += include/asm-$(ARCH)/offsets.h
|
|
||||||
|
|
||||||
# Don't use tabs in echo arguments
|
# Don't use tabs in echo arguments
|
||||||
define archhelp
|
define archhelp
|
||||||
echo '* image - Kernel image for IPL ($(boot)/image)'
|
echo '* image - Kernel image for IPL ($(boot)/image)'
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include <asm/errno.h>
|
#include <asm/errno.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/unistd.h>
|
#include <asm/unistd.h>
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include <asm/errno.h>
|
#include <asm/errno.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/unistd.h>
|
#include <asm/unistd.h>
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#include <asm/setup.h>
|
#include <asm/setup.h>
|
||||||
#include <asm/lowcore.h>
|
#include <asm/lowcore.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#include <asm/setup.h>
|
#include <asm/setup.h>
|
||||||
#include <asm/lowcore.h>
|
#include <asm/lowcore.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#include <linux/errno.h>
|
#include <linux/errno.h>
|
||||||
#include <asm/lowcore.h>
|
#include <asm/lowcore.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
.text
|
.text
|
||||||
.align 4
|
.align 4
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#include <linux/errno.h>
|
#include <linux/errno.h>
|
||||||
#include <asm/lowcore.h>
|
#include <asm/lowcore.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
.text
|
.text
|
||||||
.align 4
|
.align 4
|
||||||
|
@ -66,13 +66,7 @@ boot := arch/xtensa/boot
|
|||||||
|
|
||||||
archinc := include/asm-xtensa
|
archinc := include/asm-xtensa
|
||||||
|
|
||||||
arch/xtensa/kernel/asm-offsets.s: \
|
prepare: $(archinc)/.platform
|
||||||
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
|
|
||||||
|
|
||||||
# Update machine cpu and platform symlinks if something which affects
|
# Update machine cpu and platform symlinks if something which affects
|
||||||
# them changed.
|
# them changed.
|
||||||
@ -94,7 +88,7 @@ bzImage : zImage
|
|||||||
zImage zImage.initrd: vmlinux
|
zImage zImage.initrd: vmlinux
|
||||||
$(Q)$(MAKE) $(build)=$(boot) $@
|
$(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 $(archinc)/xtensa/config \
|
||||||
$(archinc)/.platform
|
$(archinc)/.platform
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/current.h>
|
#include <asm/current.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/pgtable.h>
|
#include <asm/pgtable.h>
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/linkage.h>
|
#include <linux/linkage.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/uaccess.h>
|
#include <asm/uaccess.h>
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
#include <asm/mmu.h>
|
#include <asm/mmu.h>
|
||||||
#include <asm/irq.h>
|
#include <asm/irq.h>
|
||||||
#include <asm/atomic.h>
|
#include <asm/atomic.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/coprocessor.h>
|
#include <asm/coprocessor.h>
|
||||||
|
|
||||||
extern void ret_from_fork(void);
|
extern void ret_from_fork(void);
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/current.h>
|
#include <asm/current.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/pgtable.h>
|
#include <asm/pgtable.h>
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
|
|
||||||
#include <asm/fpu.h>
|
#include <asm/fpu.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Base-2 logarithm of number of pages to allocate per task structure
|
* Base-2 logarithm of number of pages to allocate per task structure
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#ifndef _ASM_IA64_THREAD_INFO_H
|
#ifndef _ASM_IA64_THREAD_INFO_H
|
||||||
#define _ASM_IA64_THREAD_INFO_H
|
#define _ASM_IA64_THREAD_INFO_H
|
||||||
|
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
.level 2.0w
|
.level 2.0w
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
|
|
||||||
#include <asm/asmregs.h>
|
#include <asm/asmregs.h>
|
||||||
|
@ -127,7 +127,7 @@ extern void show_regs(struct pt_regs *);
|
|||||||
#else /* __ASSEMBLY__ */
|
#else /* __ASSEMBLY__ */
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
# include <asm/offsets.h>
|
# include <asm/asm-offsets.h>
|
||||||
#define PT_REGS_OFFSET (KERNEL_STACK_SIZE - PT_USER_SIZE)
|
#define PT_REGS_OFFSET (KERNEL_STACK_SIZE - PT_USER_SIZE)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#define _ASMLANGUAGE
|
#define _ASMLANGUAGE
|
||||||
#include <asm/current.h>
|
#include <asm/current.h>
|
||||||
#include <asm/offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user