Thread (2 messages) 2 messages, 2 authors, 2020-05-27

Re: [PATCH] clk: bcm2835: Constify struct debugfs_reg32

From: Stephen Boyd <sboyd@kernel.org>
Date: 2020-05-27 07:10:16
Also in: linux-clk, lkml

Quoting Rikard Falkeborn (2020-05-08 15:02:38)
bcm2835_debugfs_clock_reg32 is never changed and can therefore be made
const.

This allows the compiler to put it in the text section instead of the
data section.

Before:
   text    data     bss     dec     hex filename
  26598   16088      64   42750    a6fe drivers/clk/bcm/clk-bcm2835.o

After:
   text    data     bss     dec     hex filename
  26662   16024      64   42750    a6fe drivers/clk/bcm/clk-bcm2835.o

Signed-off-by: Rikard Falkeborn <redacted>
---
Applied to clk-next

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help