[PATCH] Unlinline a bunch of other functions
Remove the "inline" keyword from a bunch of big functions in the kernel with the goal of shrinking it by 30kb to 40kb Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Acked-by: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
这个提交包含在:
@@ -727,7 +727,7 @@ static void __apu_set_register(struct es1968 *chip, u16 channel, u8 reg, u16 dat
|
||||
apu_data_set(chip, data);
|
||||
}
|
||||
|
||||
static inline void apu_set_register(struct es1968 *chip, u16 channel, u8 reg, u16 data)
|
||||
static void apu_set_register(struct es1968 *chip, u16 channel, u8 reg, u16 data)
|
||||
{
|
||||
unsigned long flags;
|
||||
spin_lock_irqsave(&chip->reg_lock, flags);
|
||||
@@ -743,7 +743,7 @@ static u16 __apu_get_register(struct es1968 *chip, u16 channel, u8 reg)
|
||||
return __maestro_read(chip, IDR0_DATA_PORT);
|
||||
}
|
||||
|
||||
static inline u16 apu_get_register(struct es1968 *chip, u16 channel, u8 reg)
|
||||
static u16 apu_get_register(struct es1968 *chip, u16 channel, u8 reg)
|
||||
{
|
||||
unsigned long flags;
|
||||
u16 v;
|
||||
|
在新工单中引用
屏蔽一个用户