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

From: Stephen Rothwell
Date: Tue Oct 07 2014 - 07:09:11 EST


Hi Mikey,

On Tue, 7 Oct 2014 21:48:07 +1100 Michael Neuling <mikey@xxxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxxxxxxx

Attachment: signature.asc
Description: PGP signature