forked from analogdevicesinc/linux
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The 32bit D(n) debug addon can be made exclusive for 32 bit compiles. Otherwise all the same. Signed-off-by: Thomas Gleixner <[email protected]>
- Loading branch information
Showing
3 changed files
with
27 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,29 @@ | ||
#ifdef CONFIG_X86_32 | ||
# include "kmap_types_32.h" | ||
#ifndef _ASM_X86_KMAP_TYPES_H | ||
#define _ASM_X86_KMAP_TYPES_H | ||
|
||
#if defined(CONFIG_X86_32) && defined(CONFIG_DEBUG_HIGHMEM) | ||
# define D(n) __KM_FENCE_##n , | ||
#else | ||
# include "kmap_types_64.h" | ||
# define D(n) | ||
#endif | ||
|
||
enum km_type { | ||
D(0) KM_BOUNCE_READ, | ||
D(1) KM_SKB_SUNRPC_DATA, | ||
D(2) KM_SKB_DATA_SOFTIRQ, | ||
D(3) KM_USER0, | ||
D(4) KM_USER1, | ||
D(5) KM_BIO_SRC_IRQ, | ||
D(6) KM_BIO_DST_IRQ, | ||
D(7) KM_PTE0, | ||
D(8) KM_PTE1, | ||
D(9) KM_IRQ0, | ||
D(10) KM_IRQ1, | ||
D(11) KM_SOFTIRQ0, | ||
D(12) KM_SOFTIRQ1, | ||
D(13) KM_TYPE_NR | ||
}; | ||
|
||
#undef D | ||
|
||
#endif |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.