From: Arnd Bergmann <arnd@arndb•de>
To: Stephen Rothwell <sfr@canb•auug.org.au>
Cc: ppc-dev <linuxppc-dev@ozlabs•org>, paulus@samba•org
Subject: Re: [POWERPC] We should only execute init_spu_base on cell
Date: Mon, 27 Nov 2006 11:29:41 +0100 [thread overview]
Message-ID: <200611271129.42273.arnd@arndb.de> (raw)
In-Reply-To: <20061127175955.a5a668cc.sfr@canb.auug.org.au>
On Monday 27 November 2006 07:59, Stephen Rothwell wrote:
>
> Signed-off-by: Stephen Rothwell <sfr@canb•auug.org.au>
Acked-by: Arnd Bergmann <arnd.bergmann@de•ibm.com>
> diff --git a/arch/powerpc/platforms/cell/spu_base.c b/arch/powerpc/platforms/cell/spu_base.c
> index 841ed35..bd7bffc 100644
> --- a/arch/powerpc/platforms/cell/spu_base.c
> +++ b/arch/powerpc/platforms/cell/spu_base.c
> @@ -663,6 +663,9 @@ static int __init init_spu_base(void)
> {
> int i, ret;
>
> + if (!spu_management_ops)
> + return 0;
> +
> /* create sysdev class for spus */
> ret = sysdev_class_register(&spu_sysdev_class);
> if (ret)
Looks good, thanks.
Arnd <><
prev parent reply other threads:[~2006-11-27 10:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-27 6:59 [POWERPC] We should only execute init_spu_base on cell Stephen Rothwell
2006-11-27 10:29 ` Arnd Bergmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200611271129.42273.arnd@arndb.de \
--to=arnd@arndb$(echo .)de \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=paulus@samba$(echo .)org \
--cc=sfr@canb$(echo .)auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox