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
nexedi
linux
Commits
afb25c49
Commit
afb25c49
authored
Mar 15, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Move consistent_xxx exports to arch/arm/mm/consistent.c
parent
ec5b478a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
arch/arm/kernel/armksyms.c
arch/arm/kernel/armksyms.c
+0
-5
arch/arm/mm/consistent.c
arch/arm/mm/consistent.c
+3
-1
No files found.
arch/arm/kernel/armksyms.c
View file @
afb25c49
...
@@ -189,11 +189,6 @@ EXPORT_SYMBOL(__arch_clear_user);
...
@@ -189,11 +189,6 @@ EXPORT_SYMBOL(__arch_clear_user);
EXPORT_SYMBOL
(
__arch_strnlen_user
);
EXPORT_SYMBOL
(
__arch_strnlen_user
);
EXPORT_SYMBOL
(
__arch_strncpy_from_user
);
EXPORT_SYMBOL
(
__arch_strncpy_from_user
);
/* consistent area handling */
EXPORT_SYMBOL
(
consistent_alloc
);
EXPORT_SYMBOL
(
consistent_free
);
EXPORT_SYMBOL
(
consistent_sync
);
EXPORT_SYMBOL_NOVERS
(
__get_user_1
);
EXPORT_SYMBOL_NOVERS
(
__get_user_1
);
EXPORT_SYMBOL_NOVERS
(
__get_user_2
);
EXPORT_SYMBOL_NOVERS
(
__get_user_2
);
EXPORT_SYMBOL_NOVERS
(
__get_user_4
);
EXPORT_SYMBOL_NOVERS
(
__get_user_4
);
...
...
arch/arm/mm/consistent.c
View file @
afb25c49
...
@@ -231,6 +231,7 @@ void *consistent_alloc(int gfp, size_t size, dma_addr_t *handle,
...
@@ -231,6 +231,7 @@ void *consistent_alloc(int gfp, size_t size, dma_addr_t *handle,
no_page:
no_page:
return
ret
;
return
ret
;
}
}
EXPORT_SYMBOL
(
consistent_alloc
);
/*
/*
* Since we have the DMA mask available to us here, we could try to do
* Since we have the DMA mask available to us here, we could try to do
...
@@ -245,7 +246,6 @@ dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *handle, int gfp)
...
@@ -245,7 +246,6 @@ dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *handle, int gfp)
return
consistent_alloc
(
gfp
,
size
,
handle
,
0
);
return
consistent_alloc
(
gfp
,
size
,
handle
,
0
);
}
}
EXPORT_SYMBOL
(
dma_alloc_coherent
);
EXPORT_SYMBOL
(
dma_alloc_coherent
);
/*
/*
...
@@ -312,6 +312,7 @@ void consistent_free(void *vaddr, size_t size, dma_addr_t handle)
...
@@ -312,6 +312,7 @@ void consistent_free(void *vaddr, size_t size, dma_addr_t handle)
"invalid area: %p
\n
"
,
vaddr
);
"invalid area: %p
\n
"
,
vaddr
);
dump_stack
();
dump_stack
();
}
}
EXPORT_SYMBOL
(
consistent_free
);
/*
/*
* Initialise the consistent memory allocation.
* Initialise the consistent memory allocation.
...
@@ -374,3 +375,4 @@ void consistent_sync(void *vaddr, size_t size, int direction)
...
@@ -374,3 +375,4 @@ void consistent_sync(void *vaddr, size_t size, int direction)
BUG
();
BUG
();
}
}
}
}
EXPORT_SYMBOL
(
consistent_sync
);
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