diff options
Diffstat (limited to 'arch/sh/mm/pg-nommu.c')
-rw-r--r-- | arch/sh/mm/pg-nommu.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/sh/mm/pg-nommu.c b/arch/sh/mm/pg-nommu.c index 91ed4e695ff7..7e33b486b7e9 100644 --- a/arch/sh/mm/pg-nommu.c +++ b/arch/sh/mm/pg-nommu.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * arch/sh/mm/pg-nommu.c | 2 | * arch/sh/mm/pg-nommu.c |
3 | * | 3 | * |
4 | * clear_page()/copy_page() implementation for MMUless SH. | 4 | * copy_page()/__copy_user()/__clear_user() implementations for MMUless SH. |
5 | * | 5 | * |
6 | * Copyright (C) 2003 Paul Mundt | 6 | * Copyright (C) 2003 Paul Mundt |
7 | * | 7 | * |
@@ -20,11 +20,6 @@ void copy_page(void *to, void *from) | |||
20 | memcpy(to, from, PAGE_SIZE); | 20 | memcpy(to, from, PAGE_SIZE); |
21 | } | 21 | } |
22 | 22 | ||
23 | void clear_page(void *to) | ||
24 | { | ||
25 | memset(to, 0, PAGE_SIZE); | ||
26 | } | ||
27 | |||
28 | __kernel_size_t __copy_user(void *to, const void *from, __kernel_size_t n) | 23 | __kernel_size_t __copy_user(void *to, const void *from, __kernel_size_t n) |
29 | { | 24 | { |
30 | memcpy(to, from, n); | 25 | memcpy(to, from, n); |