[PATCH] FRV: Miscellaneous fixes
Make various alterations and fixes to the FRV arch: (1) Resyncs the FRV system call collection with the i386 arch. (2) Discards __iounmap() as it's not used. (3) Fixes the use of the SWAP/SWAPI instruction to get the arguments the right way around in atomic.h, and also to get the asm constraints correct. (4) Moves copy_to/from_user_page() to asm/cacheflush.h to be consistent with other archs. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
06027bdd27
commit
68f624fc8b
7 changed files with 58 additions and 27 deletions
|
@ -306,7 +306,4 @@ extern long strnlen_user(const char *src, long count);
|
|||
|
||||
extern unsigned long search_exception_table(unsigned long addr);
|
||||
|
||||
#define copy_to_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len)
|
||||
#define copy_from_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len)
|
||||
|
||||
#endif /* _ASM_UACCESS_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue