aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-xp/xp.h
diff options
context:
space:
mode:
authorDean Nelson <dcn@sgi.com>2008-07-30 01:34:16 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-30 12:41:50 -0400
commita812dcc3a298eef650c381e094e2cf41a4ecc9ad (patch)
treecb6a24a623891054789f5340742c3c8ff1fb8cde /drivers/misc/sgi-xp/xp.h
parent261f3b4979db88d29fc86aad9f76fbc0c2c6d21a (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.h8
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;
349extern short xp_partition_id; 351extern short xp_partition_id;
350extern u8 xp_region_size; 352extern u8 xp_region_size;
351 353
352extern enum xp_retval (*xp_remote_memcpy) (void *, const void *, size_t); 354extern unsigned long (*xp_pa) (void *);
355extern enum xp_retval (*xp_remote_memcpy) (unsigned long, const unsigned long,
356 size_t);
353extern int (*xp_cpu_to_nasid) (int); 357extern int (*xp_cpu_to_nasid) (int);
354 358
355extern u64 xp_nofault_PIOR_target; 359extern u64 xp_nofault_PIOR_target;