diff options
author | Dean Nelson <dcn@sgi.com> | 2008-07-30 01:34:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-30 12:41:49 -0400 |
commit | 908787db9b95f548270af18d83d62b9d2020ca10 (patch) | |
tree | 7fd4837accae2af478af95618357f106d04c265e /drivers/misc/sgi-xp/xpc.h | |
parent | bc63d387e4f5dbbe4ea0c5ade862c38073fd7fa3 (diff) |
sgi-xp: create a common xp_remote_memcpy() function
Create a common remote memcpy function that maps to what the hardware
booted supports.
Signed-off-by: Dean Nelson <dcn@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/sgi-xp/xpc.h')
-rw-r--r-- | drivers/misc/sgi-xp/xpc.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/misc/sgi-xp/xpc.h b/drivers/misc/sgi-xp/xpc.h index 0f2affd01df1..60388bed7701 100644 --- a/drivers/misc/sgi-xp/xpc.h +++ b/drivers/misc/sgi-xp/xpc.h | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <linux/completion.h> | 20 | #include <linux/completion.h> |
21 | #include <asm/pgtable.h> | 21 | #include <asm/pgtable.h> |
22 | #include <asm/processor.h> | 22 | #include <asm/processor.h> |
23 | #include <asm/sn/bte.h> | ||
24 | #include <asm/sn/clksupport.h> | 23 | #include <asm/sn/clksupport.h> |
25 | #include <asm/sn/addrs.h> | 24 | #include <asm/sn/addrs.h> |
26 | #include <asm/sn/mspec.h> | 25 | #include <asm/sn/mspec.h> |
@@ -1125,12 +1124,6 @@ xpc_IPI_init(int index) | |||
1125 | return amo; | 1124 | return amo; |
1126 | } | 1125 | } |
1127 | 1126 | ||
1128 | static inline enum xp_retval | ||
1129 | xpc_map_bte_errors(bte_result_t error) | ||
1130 | { | ||
1131 | return ((error == BTE_SUCCESS) ? xpSuccess : xpBteCopyError); | ||
1132 | } | ||
1133 | |||
1134 | /* | 1127 | /* |
1135 | * Check to see if there is any channel activity to/from the specified | 1128 | * Check to see if there is any channel activity to/from the specified |
1136 | * partition. | 1129 | * partition. |