diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 18:01:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 18:01:05 -0400 |
commit | f6e6e883730aff2718610d3eba7608fcf73328ed (patch) | |
tree | ec595db5e2454ac5f505a2ce971e45d674f8d6b3 /arch/arm/kernel | |
parent | ba262e4a4d4c23b5e6c15dbb3a99696b562e8035 (diff) | |
parent | f964c303fe33b0d2ee563349bc8bea4d57d7a265 (diff) |
Merge master.kernel.org:/home/rmk/linux-2.6-arm
* master.kernel.org:/home/rmk/linux-2.6-arm:
[ARM] 3657/1: S3C24XX: Documentation update of Overview.txt
[ARM] Update mach-types
[ARM] 3656/1: S3C2412: Add S3C2412 and S3C2413 documenation
[ARM] 3654/1: add ajeco 1arm sbc support
[ARM] fix drivers/mfd/ucb1x00-core.c IRQ probing bug
[ARM] 3651/1: S3C24XX: Make arch list more detailed
[ARM] 3650/1: S3C2412: Update s3c2410_defconfig
[ARM] 3649/1: S3C24XX: Fix capitalisation of CPU on SMDK2440
[ARM] 3612/1: make pci bus optional for ixp4xx platform
[ARM] Remove MODE_(SVC|IRQ|FIQ|USR) and DEFAULT_FIQ
[ARM] Remove save_lr/restore_pc macros
[ARM] Remove partial non-v6 binutils compatibility
[ARM] Remove LOADREGS macro
[ARM] Remove RETINSTR macro
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/entry-common.S | 2 | ||||
-rw-r--r-- | arch/arm/kernel/head-nommu.S | 2 | ||||
-rw-r--r-- | arch/arm/kernel/head.S | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S index b5bcebca1cd6..75af6d6e2f28 100644 --- a/arch/arm/kernel/entry-common.S +++ b/arch/arm/kernel/entry-common.S | |||
@@ -340,7 +340,7 @@ sys_mmap2: | |||
340 | streq r5, [sp, #4] | 340 | streq r5, [sp, #4] |
341 | beq do_mmap2 | 341 | beq do_mmap2 |
342 | mov r0, #-EINVAL | 342 | mov r0, #-EINVAL |
343 | RETINSTR(mov,pc, lr) | 343 | mov pc, lr |
344 | #else | 344 | #else |
345 | str r5, [sp, #4] | 345 | str r5, [sp, #4] |
346 | b do_mmap2 | 346 | b do_mmap2 |
diff --git a/arch/arm/kernel/head-nommu.S b/arch/arm/kernel/head-nommu.S index adf62e5eaad7..2af7e44218af 100644 --- a/arch/arm/kernel/head-nommu.S +++ b/arch/arm/kernel/head-nommu.S | |||
@@ -39,7 +39,7 @@ | |||
39 | __INIT | 39 | __INIT |
40 | .type stext, %function | 40 | .type stext, %function |
41 | ENTRY(stext) | 41 | ENTRY(stext) |
42 | msr cpsr_c, #PSR_F_BIT | PSR_I_BIT | MODE_SVC @ ensure svc mode | 42 | msr cpsr_c, #PSR_F_BIT | PSR_I_BIT | SVC_MODE @ ensure svc mode |
43 | @ and irqs disabled | 43 | @ and irqs disabled |
44 | mrc p15, 0, r9, c0, c0 @ get processor id | 44 | mrc p15, 0, r9, c0, c0 @ get processor id |
45 | bl __lookup_processor_type @ r5=procinfo r9=cpuid | 45 | bl __lookup_processor_type @ r5=procinfo r9=cpuid |
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S index 04f7344e356a..330b9476c398 100644 --- a/arch/arm/kernel/head.S +++ b/arch/arm/kernel/head.S | |||
@@ -71,7 +71,7 @@ | |||
71 | __INIT | 71 | __INIT |
72 | .type stext, %function | 72 | .type stext, %function |
73 | ENTRY(stext) | 73 | ENTRY(stext) |
74 | msr cpsr_c, #PSR_F_BIT | PSR_I_BIT | MODE_SVC @ ensure svc mode | 74 | msr cpsr_c, #PSR_F_BIT | PSR_I_BIT | SVC_MODE @ ensure svc mode |
75 | @ and irqs disabled | 75 | @ and irqs disabled |
76 | mrc p15, 0, r9, c0, c0 @ get processor id | 76 | mrc p15, 0, r9, c0, c0 @ get processor id |
77 | bl __lookup_processor_type @ r5=procinfo r9=cpuid | 77 | bl __lookup_processor_type @ r5=procinfo r9=cpuid |
@@ -104,7 +104,7 @@ ENTRY(secondary_startup) | |||
104 | * the processor type - there is no need to check the machine type | 104 | * the processor type - there is no need to check the machine type |
105 | * as it has already been validated by the primary processor. | 105 | * as it has already been validated by the primary processor. |
106 | */ | 106 | */ |
107 | msr cpsr_c, #PSR_F_BIT | PSR_I_BIT | MODE_SVC | 107 | msr cpsr_c, #PSR_F_BIT | PSR_I_BIT | SVC_MODE |
108 | mrc p15, 0, r9, c0, c0 @ get processor id | 108 | mrc p15, 0, r9, c0, c0 @ get processor id |
109 | bl __lookup_processor_type | 109 | bl __lookup_processor_type |
110 | movs r10, r5 @ invalid processor? | 110 | movs r10, r5 @ invalid processor? |