summaryrefslogtreecommitdiff
path: root/net/dsa/tag_dsa.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-10-15 08:35:12 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-10-16 03:25:58 -0700
commit73bdf0a60e607f4b8ecc5aec597105976565a84f (patch)
treec328c671f0da327a417d8bddb1309371ed216ea2 /net/dsa/tag_dsa.c
parentf61f1b5717dec9968efd6c8d61bd73b7a61b72a0 (diff)
Introduce is_vmalloc_or_module_addr() and use with DEBUG_VIRTUAL
Impact: crash on module insertion with CONFIG_DEBUG_VIRTUAL We would incorrectly BUG due to: VIRTUAL_BUG_ON(!is_vmalloc_addr(vmalloc_addr) && !is_module_address(addr)); ... because, at least on x86-64, is_module_address() doesn't do what it should. This patch introduces is_vmalloc_or_module_addr(), which is what we really want anyway, and uses it instead. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'net/dsa/tag_dsa.c')
0 files changed, 0 insertions, 0 deletions