linux_dsm_epyc7002/drivers/net/ethernet/renesas
Sergei Shtylyov 2274d3753f sh_eth: uninline sh_eth_{write|read}()
Commit 3365711df0 ("sh_eth: WARN on access to a register not implemented in
in  a particular chip") added WARN_ON() to sh_eth_{read|write}(), thus making
it  unacceptable for these functions to be *inline* anymore. Remove *inline*
and move the functions from the header to the driver itself. Below   is our
code economy with ARM gcc 4.7.3:

$ size drivers/net/ethernet/renesas/sh_eth.o{~,}
   text	   data	    bss	    dec	    hex	filename
  32489	   1140	      0	  33629	   835d	drivers/net/ethernet/renesas/sh_eth.o~
  25413	   1140	      0	  26553	   67b9	drivers/net/ethernet/renesas/sh_eth.o

Suggested-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-12-14 16:25:21 -05:00
..
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile Renesas Ethernet AVB PTP clock driver 2015-06-11 00:24:12 -07:00
ravb_main.c ravb: fix RX queue #1 frame error counter name 2015-12-05 17:46:58 -05:00
ravb_ptp.c renesas: missing unlock on error path 2015-06-25 02:13:02 -07:00
ravb.h ravb: Add support for r8a7795 SoC 2015-10-03 05:05:21 -07:00
sh_eth.c sh_eth: uninline sh_eth_{write|read}() 2015-12-14 16:25:21 -05:00
sh_eth.h sh_eth: uninline sh_eth_{write|read}() 2015-12-14 16:25:21 -05:00