diff options
author | Hannes Reinecke <hare@suse.de> | 2008-04-25 13:01:41 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-27 17:20:00 (GMT) |
commit | 3dbd10f3d8b00dad35d3fac95e91c066ae71d9a8 (patch) | |
tree | cbd020e0d4e9911afc88dbfc725f66139fb30129 /drivers/scsi/qla2xxx/qla_gbl.h | |
parent | a198c3d0393faa1fa9f0e6e917ce980d3638f8df (diff) | |
download | linux-fsl-qoriq-3dbd10f3d8b00dad35d3fac95e91c066ae71d9a8.tar.xz |
[SCSI] aic7xxx: teach aicasm to not emit unused debug code/data
Add a 'count' variable to each symbol which gets increased every time
the symbol is referenced. And then modify the register definition to
include counts for symbols which are referenced from the source code
only and not from the sequencer code.
This will give us an automatic usage count for the symbols with only
minimal hand-crafting.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
0 files changed, 0 insertions, 0 deletions