diff options
author | 2020-05-09 00:35:01 +0200 | |
---|---|---|
committer | 2020-05-15 16:15:01 +1000 | |
commit | 8f68659bac1da933bf5526d4eeec46504d68457b (patch) | |
tree | eefb22b1b5d4c0915e5458e42be78269988cdc52 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | crypto: hisilicon/hpre - constify struct debugfs_reg32 (diff) | |
download | wireguard-linux-8f68659bac1da933bf5526d4eeec46504d68457b.tar.xz wireguard-linux-8f68659bac1da933bf5526d4eeec46504d68457b.zip |
crypto: hisilicon/zip - constify struct debugfs_reg32
hzip_dfx_regs is never changed and can 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
15236 6160 480 21876 5574 drivers/crypto/hisilicon/zip/zip_main.o
After:
text data bss dec hex filename
15620 5776 480 21876 5574 drivers/crypto/hisilicon/zip/zip_main.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions