diff options
| author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-08-09 09:09:29 -0400 |
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-08-09 09:09:29 -0400 |
| commit | 054d5c9238f3c577ad51195c3ee7803613f322cc (patch) | |
| tree | ff7d9f5c0e0ddf14230ba28f28ef69a2c0a0debf /mm/highmem.c | |
| parent | 11e4afb49b7fa1fc8e1ffd850c1806dd86a08204 (diff) | |
| parent | 2192482ee5ce5d5d4a6cec0c351b2d3a744606eb (diff) | |
Merge branch 'devel-stable' into devel
Diffstat (limited to 'mm/highmem.c')
| -rw-r--r-- | mm/highmem.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mm/highmem.c b/mm/highmem.c index 66baa20f78f5..7a0aa1be4993 100644 --- a/mm/highmem.c +++ b/mm/highmem.c | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | #include <linux/init.h> | 26 | #include <linux/init.h> |
| 27 | #include <linux/hash.h> | 27 | #include <linux/hash.h> |
| 28 | #include <linux/highmem.h> | 28 | #include <linux/highmem.h> |
| 29 | #include <linux/kgdb.h> | ||
| 29 | #include <asm/tlbflush.h> | 30 | #include <asm/tlbflush.h> |
| 30 | 31 | ||
| 31 | /* | 32 | /* |
| @@ -470,6 +471,12 @@ void debug_kmap_atomic(enum km_type type) | |||
| 470 | warn_count--; | 471 | warn_count--; |
| 471 | } | 472 | } |
| 472 | } | 473 | } |
| 474 | #ifdef CONFIG_KGDB_KDB | ||
| 475 | if (unlikely(type == KM_KDB && atomic_read(&kgdb_active) == -1)) { | ||
| 476 | WARN_ON(1); | ||
| 477 | warn_count--; | ||
| 478 | } | ||
| 479 | #endif /* CONFIG_KGDB_KDB */ | ||
| 473 | } | 480 | } |
| 474 | 481 | ||
| 475 | #endif | 482 | #endif |
