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/xp_uv.c | |
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/xp_uv.c')
-rw-r--r-- | drivers/misc/sgi-xp/xp_uv.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/misc/sgi-xp/xp_uv.c b/drivers/misc/sgi-xp/xp_uv.c index 30888be2cdb0..dca519fdef98 100644 --- a/drivers/misc/sgi-xp/xp_uv.c +++ b/drivers/misc/sgi-xp/xp_uv.c | |||
@@ -15,12 +15,23 @@ | |||
15 | 15 | ||
16 | #include "xp.h" | 16 | #include "xp.h" |
17 | 17 | ||
18 | static enum xp_retval | ||
19 | xp_remote_memcpy_uv(void *vdst, const void *psrc, size_t len) | ||
20 | { | ||
21 | /* >>> this function needs fleshing out */ | ||
22 | return xpUnsupported; | ||
23 | } | ||
24 | |||
18 | enum xp_retval | 25 | enum xp_retval |
19 | xp_init_uv(void) | 26 | xp_init_uv(void) |
20 | { | 27 | { |
21 | BUG_ON(!is_uv()); | 28 | BUG_ON(!is_uv()); |
22 | 29 | ||
23 | xp_max_npartitions = XP_MAX_NPARTITIONS_UV; | 30 | xp_max_npartitions = XP_MAX_NPARTITIONS_UV; |
31 | |||
32 | xp_remote_memcpy = xp_remote_memcpy_uv; | ||
33 | |||
34 | return xpSuccess; | ||
24 | } | 35 | } |
25 | 36 | ||
26 | void | 37 | void |