Linus Torvalds
73bdf0a60e
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>
2008-10-16 03:25:58 -07:00
..
2008-07-26 12:00:12 -07:00
2008-05-20 13:31:53 -07:00
2008-08-20 15:40:31 -07:00
2008-10-09 08:56:01 +02:00
2008-04-28 08:58:20 -07:00
2008-04-28 08:58:23 -07:00
2008-08-20 15:40:32 -07:00
2008-09-02 19:21:37 -07:00
2008-07-28 16:30:21 -07:00
2008-08-15 17:22:57 +02:00
2008-08-12 16:07:28 -07:00
2008-07-24 10:47:17 -07:00
2008-08-12 17:52:53 +10:00
2008-04-17 20:05:39 +02:00
2008-07-30 09:41:45 -07:00
2008-07-28 16:30:21 -07:00
2008-09-29 08:41:47 -07:00
2008-07-24 10:47:21 -07:00
2008-08-04 21:31:34 -07:00
2008-08-12 16:07:29 -07:00
2007-10-20 01:27:18 +02:00
2008-08-04 21:31:34 -07:00
2008-04-28 08:58:18 -07:00
2008-08-04 16:58:45 -07:00
2008-08-20 15:40:30 -07:00
2008-09-03 19:58:53 -07:00
2008-07-28 16:30:21 -07:00
2008-09-13 14:41:52 -07:00
2008-07-28 16:30:21 -07:00
2008-07-28 16:30:21 -07:00
2007-05-21 09:18:19 -07:00
2008-08-04 16:01:47 +09:00
2008-08-14 22:59:43 +10:00
2008-10-02 15:53:13 -07:00
2008-02-05 09:44:19 -08:00
2008-10-02 15:53:13 -07:00
2008-07-26 12:00:06 -07:00
2008-06-12 18:05:41 -07:00
2008-07-25 10:53:28 -07:00
2007-10-20 01:27:18 +02:00
2008-09-02 19:21:38 -07:00
2008-07-26 12:00:06 -07:00
2008-08-20 15:40:32 -07:00
2008-07-26 20:53:14 -04:00
2008-08-04 21:31:34 -07:00
2008-07-29 23:44:26 +03:00
2008-10-09 12:18:27 -07:00
2008-09-15 09:49:05 +03:00
2008-07-04 10:40:04 -07:00
2008-08-12 16:07:30 -07:00
2008-08-20 15:40:30 -07:00
2008-08-04 21:31:34 -07:00
2008-08-04 21:31:34 -07:00
2007-05-11 08:29:32 -07:00
2008-10-02 15:53:13 -07:00
2008-09-02 19:21:37 -07:00
2008-08-12 17:52:53 +10:00
2008-10-16 03:25:58 -07:00
2008-08-04 21:31:34 -07:00
2008-08-27 20:09:28 +01:00