diff options
| author | Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk> | 2004-11-20 21:13:07 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-20 21:13:07 -0800 |
| commit | fc396d726fa5ddc5d593e2b13d525ae2eb4628fc (patch) | |
| tree | 4d20d244ddb8bc22ce2dbc1af2eaa55cea1f92d8 /drivers/message/i2o/exec-osm.c | |
| parent | 8fe11cd89eeaec0a6e26f82e3ee355be599cf09f (diff) | |
[PATCH] i2o iomem annotations
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/message/i2o/exec-osm.c')
| -rw-r--r-- | drivers/message/i2o/exec-osm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/message/i2o/exec-osm.c b/drivers/message/i2o/exec-osm.c index 60eac4efcc47..b25dc619c06e 100644 --- a/drivers/message/i2o/exec-osm.c +++ b/drivers/message/i2o/exec-osm.c @@ -48,7 +48,7 @@ struct i2o_exec_wait { u32 tcntxt; /* transaction context from reply */ int complete; /* 1 if reply received otherwise 0 */ u32 m; /* message id */ - struct i2o_message *msg; /* pointer to the reply message */ + struct i2o_message __iomem *msg; /* pointer to the reply message */ struct list_head list; /* node in global wait list */ }; @@ -114,7 +114,7 @@ int i2o_msg_post_wait_mem(struct i2o_controller *c, u32 m, unsigned long DECLARE_WAIT_QUEUE_HEAD(wq); struct i2o_exec_wait *wait; static u32 tcntxt = 0x80000000; - struct i2o_message *msg = c->in_queue.virt + m; + struct i2o_message __iomem *msg = c->in_queue.virt + m; int rc = 0; wait = i2o_exec_wait_alloc(); @@ -199,7 +199,7 @@ int i2o_msg_post_wait_mem(struct i2o_controller *c, u32 m, unsigned long * message must also be given back to the controller. */ static int i2o_msg_post_wait_complete(struct i2o_controller *c, u32 m, - struct i2o_message *msg) + struct i2o_message __iomem *msg) { struct i2o_exec_wait *wait, *tmp; static spinlock_t lock; @@ -323,7 +323,7 @@ static int i2o_exec_reply(struct i2o_controller *c, u32 m, struct i2o_message *msg) { if (le32_to_cpu(msg->u.head[0]) & MSG_FAIL) { // Fail bit is set - struct i2o_message *pmsg; /* preserved message */ + struct i2o_message __iomem *pmsg; /* preserved message */ u32 pm; pm = le32_to_cpu(msg->body[3]); @@ -395,7 +395,7 @@ static void i2o_exec_event(struct i2o_event *evt) */ int i2o_exec_lct_get(struct i2o_controller *c) { - struct i2o_message *msg; + struct i2o_message __iomem *msg; u32 m; int i = 0; int rc = -EAGAIN; @@ -439,7 +439,7 @@ static int i2o_exec_lct_notify(struct i2o_controller *c, u32 change_ind) { i2o_status_block *sb = c->status_block.virt; struct device *dev; - struct i2o_message *msg; + struct i2o_message __iomem *msg; u32 m; dev = &c->pdev->dev; |
