diff options
author | Dean Nelson <dcn@sgi.com> | 2008-07-30 01:34:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-30 12:41:50 -0400 |
commit | a812dcc3a298eef650c381e094e2cf41a4ecc9ad (patch) | |
tree | cb6a24a623891054789f5340742c3c8ff1fb8cde /drivers/misc/sgi-xp/xp.h | |
parent | 261f3b4979db88d29fc86aad9f76fbc0c2c6d21a (diff) |
sgi-xp: add usage of GRU driver by xpc_remote_memcpy()
Add UV support to xpc_remote_memcpy(), which involves interfacing to the
GRU driver.
Signed-off-by: Dean Nelson <dcn@sgi.com>
Cc: Jack Steiner <steiner@sgi.com>
Cc: "Luck, Tony" <tony.luck@intel.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.h')
-rw-r--r-- | drivers/misc/sgi-xp/xp.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/misc/sgi-xp/xp.h b/drivers/misc/sgi-xp/xp.h index 01bf1a2cd8ed..45d0a08c2ddd 100644 --- a/drivers/misc/sgi-xp/xp.h +++ b/drivers/misc/sgi-xp/xp.h | |||
@@ -207,7 +207,9 @@ enum xp_retval { | |||
207 | xpUnsupported, /* 56: unsupported functionality or resource */ | 207 | xpUnsupported, /* 56: unsupported functionality or resource */ |
208 | xpNeedMoreInfo, /* 57: more info is needed by SAL */ | 208 | xpNeedMoreInfo, /* 57: more info is needed by SAL */ |
209 | 209 | ||
210 | xpUnknownReason /* 58: unknown reason - must be last in enum */ | 210 | xpGruCopyError, /* 58: gru_copy_gru() returned error */ |
211 | |||
212 | xpUnknownReason /* 59: unknown reason - must be last in enum */ | ||
211 | }; | 213 | }; |
212 | 214 | ||
213 | /* | 215 | /* |
@@ -349,7 +351,9 @@ extern short xp_max_npartitions; | |||
349 | extern short xp_partition_id; | 351 | extern short xp_partition_id; |
350 | extern u8 xp_region_size; | 352 | extern u8 xp_region_size; |
351 | 353 | ||
352 | extern enum xp_retval (*xp_remote_memcpy) (void *, const void *, size_t); | 354 | extern unsigned long (*xp_pa) (void *); |
355 | extern enum xp_retval (*xp_remote_memcpy) (unsigned long, const unsigned long, | ||
356 | size_t); | ||
353 | extern int (*xp_cpu_to_nasid) (int); | 357 | extern int (*xp_cpu_to_nasid) (int); |
354 | 358 | ||
355 | extern u64 xp_nofault_PIOR_target; | 359 | extern u64 xp_nofault_PIOR_target; |