[PATCH]: sgiserial 2/7 s/__INLINE__/inline/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

s/_INLINE_/inline/


 build/drivers/sgi/char/sgiserial.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff -puN build/drivers/sgi/char/sgiserial.c~sgiserial__INLINE_ build/drivers/sgi/char/sgiserial.c
--- 24/build/drivers/sgi/char/sgiserial.c~sgiserial__INLINE_	2003-03-25 22:38:06.000000000 +0100
+++ 24-quintela/build/drivers/sgi/char/sgiserial.c	2003-03-25 22:39:04.000000000 +0100
@@ -118,8 +118,6 @@ static int serial_refcount;
 #define RS_STROBE_TIME 10
 #define RS_ISR_PASS_LIMIT 256
 
-#define _INLINE_ inline
-
 static void change_speed(struct sgi_serial *info);
 
 static struct tty_struct *serial_table[NUM_CHANNELS];
@@ -387,7 +385,7 @@ static inline void rs_recv_clear(struct 
  * This routine is used by the interrupt handler to schedule
  * processing in the software interrupt portion of the driver.
  */
-static _INLINE_ void rs_sched_event(struct sgi_serial *info,
+static inline void rs_sched_event(struct sgi_serial *info,
 				    int event)
 {
 	info->event |= 1 << event;
@@ -399,7 +397,7 @@ static _INLINE_ void rs_sched_event(stru
 extern void set_async_breakpoint(unsigned int epc);
 #endif
 
-static _INLINE_ void receive_chars(struct sgi_serial *info, struct pt_regs *regs)
+static inline void receive_chars(struct sgi_serial *info, struct pt_regs *regs)
 {
 	struct tty_struct *tty = info->tty;
 	volatile unsigned char junk;
@@ -460,7 +458,7 @@ clear_and_exit:
 	return;
 }
 
-static _INLINE_ void transmit_chars(struct sgi_serial *info)
+static inline void transmit_chars(struct sgi_serial *info)
 {
 	volatile unsigned char junk;
 
@@ -518,7 +516,7 @@ clear_and_return:
 	return;
 }
 
-static _INLINE_ void status_handle(struct sgi_serial *info)
+static inline void status_handle(struct sgi_serial *info)
 {
 	volatile unsigned char junk;
 	unsigned char status;

_


-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux