diff options
| author | Benjamin Herrenschmidt <benh@au1.ibm.com> | 2006-12-10 23:08:40 -0500 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2006-12-10 23:13:47 -0500 |
| commit | 4383162c8f2fa75d916c4901b0d1ebcac7aeaf74 (patch) | |
| tree | 96659ad4304e3a964b7a5bcd0481e53f1707b28e | |
| parent | 39f44be375d07a977ba68f900c87cea97cb05f4a (diff) | |
[POWERPC] Remove old dcr.S
When I renamed dcr.S to dcr_low.S (and added dcr.c) it looks like the
old dcr.S file didn't properly get removed. This fixes it.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
| -rw-r--r-- | arch/powerpc/sysdev/dcr.S | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/arch/powerpc/sysdev/dcr.S b/arch/powerpc/sysdev/dcr.S deleted file mode 100644 index 2078f39e2f17..000000000000 --- a/arch/powerpc/sysdev/dcr.S +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * "Indirect" DCR access | ||
| 3 | * | ||
| 4 | * Copyright (c) 2004 Eugene Surovegin <ebs@ebshome.net> | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify it | ||
| 7 | * under the terms of the GNU General Public License as published by the | ||
| 8 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 9 | * option) any later version. | ||
| 10 | */ | ||
| 11 | |||
| 12 | #include <asm/ppc_asm.h> | ||
| 13 | #include <asm/processor.h> | ||
| 14 | |||
| 15 | #define DCR_ACCESS_PROLOG(table) \ | ||
| 16 | rlwinm r3,r3,4,18,27; \ | ||
| 17 | lis r5,table@h; \ | ||
| 18 | ori r5,r5,table@l; \ | ||
| 19 | add r3,r3,r5; \ | ||
| 20 | mtctr r3; \ | ||
| 21 | bctr | ||
| 22 | |||
| 23 | _GLOBAL(__mfdcr) | ||
| 24 | DCR_ACCESS_PROLOG(__mfdcr_table) | ||
| 25 | |||
| 26 | _GLOBAL(__mtdcr) | ||
| 27 | DCR_ACCESS_PROLOG(__mtdcr_table) | ||
| 28 | |||
| 29 | __mfdcr_table: | ||
| 30 | mfdcr r3,0; blr | ||
| 31 | __mtdcr_table: | ||
| 32 | mtdcr 0,r4; blr | ||
| 33 | |||
| 34 | dcr = 1 | ||
| 35 | .rept 1023 | ||
| 36 | mfdcr r3,dcr; blr | ||
| 37 | mtdcr dcr,r4; blr | ||
| 38 | dcr = dcr + 1 | ||
| 39 | .endr | ||
