Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 858119e1 authored by Arjan van de Ven's avatar Arjan van de Ven Committed by Linus Torvalds
Browse files

[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: default avatarArjan van de Ven <arjan@infradead.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Acked-by: default avatarJeff Garzik <jgarzik@pobox.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b0a9499c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ static int acpi_ec_polling_mode = EC_POLLING;
                             Transaction Management
   -------------------------------------------------------------------------- */

static inline u32 acpi_ec_read_status(union acpi_ec *ec)
static u32 acpi_ec_read_status(union acpi_ec *ec)
{
	u32 status = 0;

+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ struct firmware_priv {
	struct timer_list timeout;
};

static inline void
static void
fw_load_abort(struct firmware_priv *fw_priv)
{
	set_bit(FW_STATUS_ABORT, &fw_priv->status);
+1 −1
Original line number Diff line number Diff line
@@ -294,7 +294,7 @@ static int do_lo_send_aops(struct loop_device *lo, struct bio_vec *bvec,
 * This helper just factors out common code between do_lo_send_direct_write()
 * and do_lo_send_write().
 */
static inline int __do_lo_send_write(struct file *file,
static int __do_lo_send_write(struct file *file,
		u8 __user *buf, const int len, loff_t pos)
{
	ssize_t bw;
+1 −1
Original line number Diff line number Diff line
@@ -494,7 +494,7 @@ static inline void bcsp_unslip_one_byte(struct bcsp_struct *bcsp, unsigned char
	}
}

static inline void bcsp_complete_rx_pkt(struct hci_uart *hu)
static void bcsp_complete_rx_pkt(struct hci_uart *hu)
{
	struct bcsp_struct *bcsp = hu->priv;
	int pass_up;
+1 −1
Original line number Diff line number Diff line
@@ -220,7 +220,7 @@ static __inline__ void r128_emit_tex1(drm_r128_private_t * dev_priv)
	ADVANCE_RING();
}

static __inline__ void r128_emit_state(drm_r128_private_t * dev_priv)
static void r128_emit_state(drm_r128_private_t * dev_priv)
{
	drm_r128_sarea_t *sarea_priv = dev_priv->sarea_priv;
	unsigned int dirty = sarea_priv->dirty;
Loading