Skip to contentSkip to conversation

: sgiserial 2/7 s/__INLINE__/inline/

PATCH New Juan Quintela 1 participant 1 message Mar 27, 2003 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : sgiserial 2/7 s/__INLINE__/inline/

Hi

s/_INLINE_/inline/

 build/drivers/sgi/char/sgiserial.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)
build/drivers/sgi/char/sgiserial.c renamed from build/drivers/sgi/char/sgiserial.c~sgiserial__INLINE_ +4 -6
diff -puN build/drivers/sgi/char/sgiserial.c~sgiserial__INLINE_ build/drivers/sgi/char/sgiserial.c
@@ -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;

_

Signature · 2 lines
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy