diff options
author | Hugh Dickins <hugh@veritas.com> | 2005-10-29 21:16:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 00:40:38 -0400 |
commit | 147efea8ebb034b48aee806caae1da9a2ee41b38 (patch) | |
tree | 6b5d03d6ab478552509c3ce813e2be1c475612de /arch/sh/mm/hugetlbpage.c | |
parent | 7ee78232501ea9de2b6c8f10d32c9a0fee541357 (diff) |
[PATCH] mm: sh64 hugetlbpage.c
The sh64 hugetlbpage.c seems to be erroneous, left over from a bygone age,
clashing with the common hugetlb.c. Replace it by a copy of the sh
hugetlbpage.c. Except, delete that mk_pte_huge macro neither uses.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/sh/mm/hugetlbpage.c')
-rw-r--r-- | arch/sh/mm/hugetlbpage.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/mm/hugetlbpage.c b/arch/sh/mm/hugetlbpage.c index 95bb1a6c6060..6b7a7688c98e 100644 --- a/arch/sh/mm/hugetlbpage.c +++ b/arch/sh/mm/hugetlbpage.c | |||
@@ -54,8 +54,6 @@ pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr) | |||
54 | return pte; | 54 | return pte; |
55 | } | 55 | } |
56 | 56 | ||
57 | #define mk_pte_huge(entry) do { pte_val(entry) |= _PAGE_SZHUGE; } while (0) | ||
58 | |||
59 | void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, | 57 | void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, |
60 | pte_t *ptep, pte_t entry) | 58 | pte_t *ptep, pte_t entry) |
61 | { | 59 | { |