From: Arnd Bergmann <arnd@arndb•de>
To: Paul Mackerras <paulus@samba•org>
Cc: linuxppc-dev@ozlabs•org, cbe-oss-dev@ozlabs•org,
Arnd Bergmann <arnd.bergmann@de•ibm.com>
Subject: [patch 2/6] cell: add forward struct declarations to spu.h
Date: Tue, 19 Dec 2006 15:32:42 +0100 [thread overview]
Message-ID: <20061219143452.003727000@arndb.de> (raw)
In-Reply-To: 20061219143240.705255000@arndb.de
Needed to be able to include spu.h independant from other
headers.
Signed-off-by: Arnd Bergmann <arnd.bergmann@de•ibm.com>
Index: linux-2.6/include/asm-powerpc/spu.h
===================================================================
--- linux-2.6.orig/include/asm-powerpc/spu.h
+++ linux-2.6/include/asm-powerpc/spu.h
@@ -161,6 +161,7 @@ struct spu_syscall_block {
extern long spu_sys_callback(struct spu_syscall_block *s);
/* syscalls implemented in spufs */
+struct file;
extern struct spufs_calls {
asmlinkage long (*create_thread)(const char __user *name,
unsigned int flags, mode_t mode);
@@ -232,6 +233,7 @@ void spu_remove_sysdev_attr_group(struct
* to object-id spufs file from user space and the notifer
* function can assume that spu->ctx is valid.
*/
+struct notifier_block;
int spu_switch_event_register(struct notifier_block * n);
int spu_switch_event_unregister(struct notifier_block * n);
--
next prev parent reply other threads:[~2006-12-19 14:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20061219143240.705255000@arndb.de>
2006-12-19 14:32 ` [patch 1/6] cell: update cell_defconfig Arnd Bergmann
2006-12-19 14:32 ` Arnd Bergmann [this message]
2006-12-19 14:32 ` [patch 3/6] cell: Enable spider workarounds on all PCI buses Arnd Bergmann
2006-12-19 20:37 ` Benjamin Herrenschmidt
2006-12-19 14:32 ` [patch 4/6] cell: Fix spufs with "new style" device-tree Arnd Bergmann
2006-12-19 14:32 ` [patch 5/6] spufs: fix assignment of node numbers Arnd Bergmann
2006-12-19 14:32 ` [patch 6/6] powerpc: add scanning of ebc bus to of_platform Arnd Bergmann
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=20061219143452.003727000@arndb.de \
--to=arnd@arndb$(echo .)de \
--cc=arnd.bergmann@de$(echo .)ibm.com \
--cc=cbe-oss-dev@ozlabs$(echo .)org \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=paulus@samba$(echo .)org \
/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