Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d801d9e5
Commit
d801d9e5
authored
Nov 25, 2011
by
Cong Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asm-generic: remove km_type definitions
Signed-off-by:
Cong Wang
<
amwang@redhat.com
>
parent
96c557df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
32 deletions
+2
-32
include/asm-generic/kmap_types.h
include/asm-generic/kmap_types.h
+2
-32
No files found.
include/asm-generic/kmap_types.h
View file @
d801d9e5
...
@@ -2,39 +2,9 @@
...
@@ -2,39 +2,9 @@
#define _ASM_GENERIC_KMAP_TYPES_H
#define _ASM_GENERIC_KMAP_TYPES_H
#ifdef __WITH_KM_FENCE
#ifdef __WITH_KM_FENCE
# define KM
AP_D(n) __KM_FENCE_##n ,
# define KM
_TYPE_NR 41
#else
#else
# define KM
AP_D(n)
# define KM
_TYPE_NR 20
#endif
#endif
enum
km_type
{
KMAP_D
(
0
)
KM_BOUNCE_READ
,
KMAP_D
(
1
)
KM_SKB_SUNRPC_DATA
,
KMAP_D
(
2
)
KM_SKB_DATA_SOFTIRQ
,
KMAP_D
(
3
)
KM_USER0
,
KMAP_D
(
4
)
KM_USER1
,
KMAP_D
(
5
)
KM_BIO_SRC_IRQ
,
KMAP_D
(
6
)
KM_BIO_DST_IRQ
,
KMAP_D
(
7
)
KM_PTE0
,
KMAP_D
(
8
)
KM_PTE1
,
KMAP_D
(
9
)
KM_IRQ0
,
KMAP_D
(
10
)
KM_IRQ1
,
KMAP_D
(
11
)
KM_SOFTIRQ0
,
KMAP_D
(
12
)
KM_SOFTIRQ1
,
KMAP_D
(
13
)
KM_SYNC_ICACHE
,
KMAP_D
(
14
)
KM_SYNC_DCACHE
,
/* UML specific, for copy_*_user - used in do_op_one_page */
KMAP_D
(
15
)
KM_UML_USERCOPY
,
KMAP_D
(
16
)
KM_IRQ_PTE
,
KMAP_D
(
17
)
KM_NMI
,
KMAP_D
(
18
)
KM_NMI_PTE
,
KMAP_D
(
19
)
KM_KDB
,
/*
* Remember to update debug_kmap_atomic() when adding new kmap types!
*/
KMAP_D
(
20
)
KM_TYPE_NR
};
#undef KMAP_D
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment