mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] s390: "extern inline" -> "static inline"
"extern inline" -> "static inline" Signed-off-by: Adrian Bunk <[email protected]> Cc: Martin Schwidefsky <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
0fbeb5a45d
commit
4448aaf0fa
15 changed files with 71 additions and 71 deletions
|
|
@ -41,14 +41,14 @@ int kbd_ioctl(struct kbd_data *, struct file *, unsigned int, unsigned long);
|
|||
/*
|
||||
* Helper Functions.
|
||||
*/
|
||||
extern inline void
|
||||
static inline void
|
||||
kbd_put_queue(struct tty_struct *tty, int ch)
|
||||
{
|
||||
tty_insert_flip_char(tty, ch, 0);
|
||||
tty_schedule_flip(tty);
|
||||
}
|
||||
|
||||
extern inline void
|
||||
static inline void
|
||||
kbd_puts_queue(struct tty_struct *tty, char *cp)
|
||||
{
|
||||
while (*cp)
|
||||
|
|
|
|||
|
|
@ -265,7 +265,7 @@ QDIO_PRINT_##importance(header "%02x %02x %02x %02x %02x %02x %02x %02x " \
|
|||
/*
|
||||
* Some instructions as assembly
|
||||
*/
|
||||
extern __inline__ int
|
||||
static inline int
|
||||
do_siga_sync(unsigned int irq, unsigned int mask1, unsigned int mask2)
|
||||
{
|
||||
int cc;
|
||||
|
|
@ -300,7 +300,7 @@ do_siga_sync(unsigned int irq, unsigned int mask1, unsigned int mask2)
|
|||
return cc;
|
||||
}
|
||||
|
||||
extern __inline__ int
|
||||
static inline int
|
||||
do_siga_input(unsigned int irq, unsigned int mask)
|
||||
{
|
||||
int cc;
|
||||
|
|
@ -334,7 +334,7 @@ do_siga_input(unsigned int irq, unsigned int mask)
|
|||
return cc;
|
||||
}
|
||||
|
||||
extern __inline__ int
|
||||
static inline int
|
||||
do_siga_output(unsigned long irq, unsigned long mask, __u32 *bb)
|
||||
{
|
||||
int cc;
|
||||
|
|
@ -401,7 +401,7 @@ do_siga_output(unsigned long irq, unsigned long mask, __u32 *bb)
|
|||
return cc;
|
||||
}
|
||||
|
||||
extern __inline__ unsigned long
|
||||
static inline unsigned long
|
||||
do_clear_global_summary(void)
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ fsm_record_history(fsm_instance *fi, int state, int event);
|
|||
* 1 if current state or event is out of range
|
||||
* !0 if state and event in range, but no action defined.
|
||||
*/
|
||||
extern __inline__ int
|
||||
static inline int
|
||||
fsm_event(fsm_instance *fi, int event, void *arg)
|
||||
{
|
||||
fsm_function_t r;
|
||||
|
|
@ -188,7 +188,7 @@ fsm_event(fsm_instance *fi, int event, void *arg)
|
|||
* @param fi Pointer to FSM
|
||||
* @param state The new state for this FSM.
|
||||
*/
|
||||
extern __inline__ void
|
||||
static inline void
|
||||
fsm_newstate(fsm_instance *fi, int newstate)
|
||||
{
|
||||
atomic_set(&fi->state,newstate);
|
||||
|
|
@ -208,7 +208,7 @@ fsm_newstate(fsm_instance *fi, int newstate)
|
|||
*
|
||||
* @return The current state of the FSM.
|
||||
*/
|
||||
extern __inline__ int
|
||||
static inline int
|
||||
fsm_getstate(fsm_instance *fi)
|
||||
{
|
||||
return atomic_read(&fi->state);
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ struct crw {
|
|||
#define CRW_ERC_PERRI 0x07 /* perm. error, facility init */
|
||||
#define CRW_ERC_PMOD 0x08 /* installed parameters modified */
|
||||
|
||||
extern __inline__ int stcrw(struct crw *pcrw )
|
||||
static inline int stcrw(struct crw *pcrw )
|
||||
{
|
||||
int ccode;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue