OpenCloudOS-Kernel/drivers/infiniband/hw
Roland Dreier e8e91f6b4d IB/ehca: Make symbols used only in a single source file static
Allow the compiler to optimize better and generate smaller code:

add/remove: 0/6 grow/shrink: 2/0 up/down: 1528/-1864 (-336)
function                                     old     new   delta
.ehca_set_pagebuf                           1344    2172    +828
.ehca_probe                                 2312    3012    +700
ehca_set_pagebuf_phys                         24       -     -24
ehca_set_pagebuf_fmr                          24       -     -24
ehca_init_device                              24       -     -24
.ehca_set_pagebuf_fmr                        480       -    -480
.ehca_set_pagebuf_phys                       512       -    -512
.ehca_init_device                            800       -    -800

Also this fixes warnings like:

    drivers/infiniband/hw/ehca/ehca_mrmw.c:2015:5: warning: symbol 'ehca_set_pagebuf_fmr' was not declared. Should it be static?

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-04-16 21:01:10 -07:00
..
amso1100 RDMA/amso1100: Endian annotate mqsq allocator 2008-04-16 21:01:08 -07:00
cxgb3 RDMA/cxgb3: IDR IDs are signed 2008-04-16 21:01:06 -07:00
ehca IB/ehca: Make symbols used only in a single source file static 2008-04-16 21:01:10 -07:00
ipath IB/ipath: Fix sparse warning about shadowed symbol 2008-04-16 21:01:07 -07:00
mlx4 mlx4_core: Fix confusion between mlx4_event and mlx4_dev_event enums 2008-04-16 21:01:08 -07:00
mthca IB/mthca: Formatting cleanups 2008-04-16 21:01:03 -07:00
nes RDMA/nes: Make symbols used only in a single source file static 2008-04-16 21:01:09 -07:00