]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Add kmemleak annotation to sun4v_build_virq()
authorDavid S. Miller <davem@davemloft.net>
Sun, 11 Apr 2010 03:24:22 +0000 (20:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 06:46:17 +0000 (23:46 -0700)
commit40f92755bf82790499da33a5ce8cd516f0e23eb3
tree8ec027a5cd22ad1a2a53e630bae74e356490d3e9
parente7a9feb88a7334a78e00d9166e388f6c846b9065
sparc64: Add kmemleak annotation to sun4v_build_virq()

The only reference we store to this memory is in the form of a
physical address, so kmemleak can't see it.

Add a kmemleak_not_leak() annotation.

It's probably useful to be able to look at a dump of these things
either via debugfs or similar, and thus we could at some point store
them in some kind of table and therefore get rid of this annotation.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/irq_64.c