Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 486
b: refs/heads/master
c: bce495d
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Apr 26, 2005
1 parent c96c67d commit 85a30a8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 23 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f4dc9a4cf26278f5b608d6e4bd16e7b27ddcf1a5
refs/heads/master: bce495d865829d7a1d8102a834d3e3af32616567
5 changes: 0 additions & 5 deletions trunk/arch/arm/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,3 @@ head-y := head.o
obj-$(CONFIG_DEBUG_LL) += debug.o

extra-y := $(head-y) init_task.o vmlinux.lds

# Spell out some dependencies that aren't automatically figured out
$(obj)/entry-armv.o: $(obj)/entry-header.S include/asm-arm/constants.h
$(obj)/entry-common.o: $(obj)/entry-header.S include/asm-arm/constants.h \
$(obj)/calls.S
6 changes: 3 additions & 3 deletions trunk/arch/arm/kernel/entry-armv.S
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
* it to save wrong values... Be aware!
*/
#include <linux/config.h>
#include <linux/init.h>

#include <asm/thread_info.h>
#include <asm/glue.h>
#include <asm/ptrace.h>
#include <asm/vfpmacros.h>
#include <asm/hardware.h> @ should be moved into entry-macro.S
#include <asm/arch/irqs.h> @ should be moved into entry-macro.S
#include <asm/arch/entry-macro.S>

#include "entry-header.S"

Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/kernel/entry-common.S
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
*/
#include <linux/config.h>

#include <asm/thread_info.h>
#include <asm/ptrace.h>
#include <asm/unistd.h>

#include "entry-header.S"
Expand Down
21 changes: 9 additions & 12 deletions trunk/arch/arm/kernel/entry-header.S
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
#include <linux/config.h> /* for CONFIG_ARCH_xxxx */
#include <linux/config.h>
#include <linux/init.h>
#include <linux/linkage.h>

#include <asm/assembler.h>
#include <asm/constants.h>
#include <asm/errno.h>
#include <asm/hardware.h>
#include <asm/arch/irqs.h>
#include <asm/arch/entry-macro.S>

.macro zero_fp
#ifdef CONFIG_FRAME_POINTER
mov fp, #0
#endif
.endm

.text
#include <asm/thread_info.h>

@ Bad Abort numbers
@ -----------------
Expand All @@ -39,6 +30,12 @@
#error "Please fix"
#endif

.macro zero_fp
#ifdef CONFIG_FRAME_POINTER
mov fp, #0
#endif
.endm

#if __LINUX_ARM_ARCH__ >= 6
.macro disable_irq
cpsid i
Expand Down

0 comments on commit 85a30a8

Please sign in to comment.