aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/spu_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/spu_info.h')
-rw-r--r--arch/powerpc/include/asm/spu_info.h29
1 files changed, 1 insertions, 28 deletions
diff --git a/arch/powerpc/include/asm/spu_info.h b/arch/powerpc/include/asm/spu_info.h
index 1286c823f0d8..7146b78e40f1 100644
--- a/arch/powerpc/include/asm/spu_info.h
+++ b/arch/powerpc/include/asm/spu_info.h
@@ -19,37 +19,10 @@
19 * along with this program; if not, write to the Free Software 19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 */ 21 */
22
23#ifndef _SPU_INFO_H 22#ifndef _SPU_INFO_H
24#define _SPU_INFO_H 23#define _SPU_INFO_H
25 24
26#include <linux/types.h>
27
28#ifdef __KERNEL__
29#include <asm/spu.h> 25#include <asm/spu.h>
30#else 26#include <uapi/asm/spu_info.h>
31struct mfc_cq_sr {
32 __u64 mfc_cq_data0_RW;
33 __u64 mfc_cq_data1_RW;
34 __u64 mfc_cq_data2_RW;
35 __u64 mfc_cq_data3_RW;
36};
37#endif /* __KERNEL__ */
38
39struct spu_dma_info {
40 __u64 dma_info_type;
41 __u64 dma_info_mask;
42 __u64 dma_info_status;
43 __u64 dma_info_stall_and_notify;
44 __u64 dma_info_atomic_command_status;
45 struct mfc_cq_sr dma_info_command_data[16];
46};
47
48struct spu_proxydma_info {
49 __u64 proxydma_info_type;
50 __u64 proxydma_info_mask;
51 __u64 proxydma_info_status;
52 struct mfc_cq_sr proxydma_info_command_data[8];
53};
54 27
55#endif 28#endif