Thread (24 messages) 24 messages, 3 authors, 2014-10-08

Re: [PATCH v3 01/16] powerpc/cell: Move spu_handle_mm_fault() out of cell platform

From: Stephen Rothwell <hidden>
Date: 2014-10-07 11:09:07
Also in: lkml

Hi Mikey,

On Tue,  7 Oct 2014 21:48:07 +1100 Michael Neuling [off-list ref] wrote:
quoted hunk ↗ jump to hunk
diff --git a/arch/powerpc/include/asm/copro.h b/arch/powerpc/include/asm/copro.h
new file mode 100644
index 0000000..2858108
--- /dev/null
+++ b/arch/powerpc/include/asm/copro.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright 2014 IBM Corp.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version
+ * 2 of the License, or (at your option) any later version.
+ */
+
+#ifndef _ASM_POWERPC_COPRO_H
+#define _ASM_POWERPC_COPRO_H
+
+int copro_handle_mm_fault(struct mm_struct *mm, unsigned long ea,
+			  unsigned long dsisr, unsigned *flt);
+
+int copro_data_segment(struct mm_struct *mm, u64 ea, u64 *esid, u64 *vsid);
This function is otherwise not included in this patch, so it should
probably be removed (as the next patch removes it anyway).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help