diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-10 04:12:10 -0500 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-10 04:12:10 -0500 |
| commit | 2f67bdb23d74a6c6fd4f98f64239c5c34d1833cc (patch) | |
| tree | fe533abe3e7c400848647b95e4806f5125c654c3 /arch/powerpc/lib | |
| parent | d40d9d29c020f8466c96f8e3ad4b7c014ff1085d (diff) | |
| parent | 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 (diff) | |
Merge branch 'master'
Diffstat (limited to 'arch/powerpc/lib')
| -rw-r--r-- | arch/powerpc/lib/copypage_64.S | 2 | ||||
| -rw-r--r-- | arch/powerpc/lib/copyuser_64.S | 4 | ||||
| -rw-r--r-- | arch/powerpc/lib/locks.c | 1 |
3 files changed, 4 insertions, 3 deletions
diff --git a/arch/powerpc/lib/copypage_64.S b/arch/powerpc/lib/copypage_64.S index 733d61618bbf..40523b140109 100644 --- a/arch/powerpc/lib/copypage_64.S +++ b/arch/powerpc/lib/copypage_64.S | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | #include <asm/processor.h> | 11 | #include <asm/processor.h> |
| 12 | #include <asm/ppc_asm.h> | 12 | #include <asm/ppc_asm.h> |
| 13 | 13 | ||
| 14 | _GLOBAL(copy_page) | 14 | _GLOBAL(copy_4K_page) |
| 15 | std r31,-8(1) | 15 | std r31,-8(1) |
| 16 | std r30,-16(1) | 16 | std r30,-16(1) |
| 17 | std r29,-24(1) | 17 | std r29,-24(1) |
diff --git a/arch/powerpc/lib/copyuser_64.S b/arch/powerpc/lib/copyuser_64.S index a0b3fbbd6fb1..6d69ef39b7df 100644 --- a/arch/powerpc/lib/copyuser_64.S +++ b/arch/powerpc/lib/copyuser_64.S | |||
| @@ -24,7 +24,7 @@ _GLOBAL(__copy_tofrom_user) | |||
| 24 | std r4,-16(r1) | 24 | std r4,-16(r1) |
| 25 | std r5,-8(r1) | 25 | std r5,-8(r1) |
| 26 | dcbt 0,r4 | 26 | dcbt 0,r4 |
| 27 | beq .Lcopy_page | 27 | beq .Lcopy_page_4K |
| 28 | andi. r6,r6,7 | 28 | andi. r6,r6,7 |
| 29 | mtcrf 0x01,r5 | 29 | mtcrf 0x01,r5 |
| 30 | blt cr1,.Lshort_copy | 30 | blt cr1,.Lshort_copy |
| @@ -366,7 +366,7 @@ _GLOBAL(__copy_tofrom_user) | |||
| 366 | * above (following the .Ldst_aligned label) but it runs slightly | 366 | * above (following the .Ldst_aligned label) but it runs slightly |
| 367 | * slower on POWER3. | 367 | * slower on POWER3. |
| 368 | */ | 368 | */ |
| 369 | .Lcopy_page: | 369 | .Lcopy_page_4K: |
| 370 | std r31,-32(1) | 370 | std r31,-32(1) |
| 371 | std r30,-40(1) | 371 | std r30,-40(1) |
| 372 | std r29,-48(1) | 372 | std r29,-48(1) |
diff --git a/arch/powerpc/lib/locks.c b/arch/powerpc/lib/locks.c index 2a912f411eb4..35bd03c41dd1 100644 --- a/arch/powerpc/lib/locks.c +++ b/arch/powerpc/lib/locks.c | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | #if defined(CONFIG_PPC_SPLPAR) || defined(CONFIG_PPC_ISERIES) | 23 | #if defined(CONFIG_PPC_SPLPAR) || defined(CONFIG_PPC_ISERIES) |
| 24 | #include <asm/hvcall.h> | 24 | #include <asm/hvcall.h> |
| 25 | #include <asm/iseries/hv_call.h> | 25 | #include <asm/iseries/hv_call.h> |
| 26 | #include <asm/smp.h> | ||
| 26 | 27 | ||
| 27 | void __spin_yield(raw_spinlock_t *lock) | 28 | void __spin_yield(raw_spinlock_t *lock) |
| 28 | { | 29 | { |
