Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7050
b: refs/heads/master
c: 4c24da7
h: refs/heads/master
v: v3
  • Loading branch information
Cornelia Huck authored and Linus Torvalds committed Sep 5, 2005
1 parent c1a10cd commit d0d71e8
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 22 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fd49f41aa0c125ec649c56a45337b3024d6b1736
refs/heads/master: 4c24da79e29537f0e240a331220a1c46cb9bc085
7 changes: 4 additions & 3 deletions trunk/drivers/s390/cio/cio.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* drivers/s390/cio/cio.c
* S/390 common I/O routines -- low level i/o calls
* $Revision: 1.134 $
* $Revision: 1.135 $
*
* Copyright (C) 1999-2002 IBM Deutschland Entwicklung GmbH,
* IBM Corporation
Expand Down Expand Up @@ -815,8 +815,9 @@ __clear_subchannel_easy(unsigned int schid)
struct tpi_info ti;

if (tpi(&ti)) {
tsch(schid, (struct irb *)__LC_IRB);
return 0;
tsch(ti.irq, (struct irb *)__LC_IRB);
if (ti.irq == schid)
return 0;
}
udelay(100);
}
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/s390/cio/device_fsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@
#include <linux/init.h>

#include <asm/ccwdev.h>
#include <asm/qdio.h>
#include <asm/cio.h>

#include "cio.h"
#include "cio_debug.h"
#include "css.h"
#include "device.h"
#include "chsc.h"
#include "ioasm.h"
#include "qdio.h"

int
device_is_online(struct subchannel *sch)
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/s390/cio/device_ops.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* drivers/s390/cio/device_ops.c
*
* $Revision: 1.56 $
* $Revision: 1.57 $
*
* Copyright (C) 2002 IBM Deutschland Entwicklung GmbH,
* IBM Corporation
Expand All @@ -19,14 +19,12 @@

#include <asm/ccwdev.h>
#include <asm/idals.h>
#include <asm/qdio.h>

#include "cio.h"
#include "cio_debug.h"
#include "css.h"
#include "chsc.h"
#include "device.h"
#include "qdio.h"

int
ccw_device_set_options(struct ccw_device *cdev, unsigned long flags)
Expand Down
26 changes: 13 additions & 13 deletions trunk/drivers/s390/cio/ioasm.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct tpi_info {
* Some S390 specific IO instructions as inline
*/

extern __inline__ int stsch(int irq, volatile struct schib *addr)
static inline int stsch(int irq, volatile struct schib *addr)
{
int ccode;

Expand All @@ -36,7 +36,7 @@ extern __inline__ int stsch(int irq, volatile struct schib *addr)
return ccode;
}

extern __inline__ int msch(int irq, volatile struct schib *addr)
static inline int msch(int irq, volatile struct schib *addr)
{
int ccode;

Expand All @@ -51,7 +51,7 @@ extern __inline__ int msch(int irq, volatile struct schib *addr)
return ccode;
}

extern __inline__ int msch_err(int irq, volatile struct schib *addr)
static inline int msch_err(int irq, volatile struct schib *addr)
{
int ccode;

Expand Down Expand Up @@ -79,7 +79,7 @@ extern __inline__ int msch_err(int irq, volatile struct schib *addr)
return ccode;
}

extern __inline__ int tsch(int irq, volatile struct irb *addr)
static inline int tsch(int irq, volatile struct irb *addr)
{
int ccode;

Expand All @@ -94,7 +94,7 @@ extern __inline__ int tsch(int irq, volatile struct irb *addr)
return ccode;
}

extern __inline__ int tpi( volatile struct tpi_info *addr)
static inline int tpi( volatile struct tpi_info *addr)
{
int ccode;

Expand All @@ -108,7 +108,7 @@ extern __inline__ int tpi( volatile struct tpi_info *addr)
return ccode;
}

extern __inline__ int ssch(int irq, volatile struct orb *addr)
static inline int ssch(int irq, volatile struct orb *addr)
{
int ccode;

Expand All @@ -123,7 +123,7 @@ extern __inline__ int ssch(int irq, volatile struct orb *addr)
return ccode;
}

extern __inline__ int rsch(int irq)
static inline int rsch(int irq)
{
int ccode;

Expand All @@ -138,7 +138,7 @@ extern __inline__ int rsch(int irq)
return ccode;
}

extern __inline__ int csch(int irq)
static inline int csch(int irq)
{
int ccode;

Expand All @@ -153,7 +153,7 @@ extern __inline__ int csch(int irq)
return ccode;
}

extern __inline__ int hsch(int irq)
static inline int hsch(int irq)
{
int ccode;

Expand All @@ -168,7 +168,7 @@ extern __inline__ int hsch(int irq)
return ccode;
}

extern __inline__ int xsch(int irq)
static inline int xsch(int irq)
{
int ccode;

Expand All @@ -183,7 +183,7 @@ extern __inline__ int xsch(int irq)
return ccode;
}

extern __inline__ int chsc(void *chsc_area)
static inline int chsc(void *chsc_area)
{
int cc;

Expand All @@ -198,7 +198,7 @@ extern __inline__ int chsc(void *chsc_area)
return cc;
}

extern __inline__ int iac( void)
static inline int iac( void)
{
int ccode;

Expand All @@ -210,7 +210,7 @@ extern __inline__ int iac( void)
return ccode;
}

extern __inline__ int rchp(int chpid)
static inline int rchp(int chpid)
{
int ccode;

Expand Down

0 comments on commit d0d71e8

Please sign in to comment.