summaryrefslogtreecommitdiff
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-03-26 12:34:20 -0400
committerDavid S. Miller <davem@davemloft.net>2018-03-26 12:34:20 -0400
commit14ef85b431feea48987a1082d6f4f3855a3badb5 (patch)
treed1363e1becdcec491f253caf540296516b3cef09 /mm/shmem.c
parent93e9ad985038f269838c4c5deab4c84d87c7b5a7 (diff)
parent4c1d45850d5327049bce461743179b46adc33f9e (diff)
Merge branch 'sh_eth-unify-the-SoC-feature-checks'
Sergei Shtylyov says: ==================== sh_eth: unify the SoC feature checks Here's a set of 5 patches against DaveM's 'net-next.git' repo. The Ether driver sometimes uses the bit fields in 'struct sh_eth_cpu_data' to check which Ether registers exist in a certain SoC and sometimes it uses sh_eth_is_{gether|rz_fast_ether}() which basically compares 2 pointers (1 of them being constant) -- the latter is definitely not a strongest feature of the RISC CPUs (be it SH or ARM), so I decided to get rid of this type of the feature checks in favour of the bit fields (I've also made use of a 32-bit value and method pointer where appropriate)... [1/5] sh_eth: add sh_eth_cpu_data::soft_reset() method [2/5] sh_eth: add sh_eth_cpu_data::edtrr_trns value [3/5] sh_eth: add sh_eth_cpu_data::xdfar_rw flag [4/5] sh_eth: add sh_eth_cpu_data::no_tx_cntr flag [5/5] sh_eth: add sh_eth_cpu_data::cexcr flag ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions