Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1158508 > unrolled thread
| Started by | Michael Ellerman <mpe@ellerman.id.au> |
|---|---|
| First post | 2015-06-04 14:20 +0200 |
| Last post | 2015-06-04 14:20 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [3/5] mm/hugetlb: remove arch_prepare/release_hugepage from arch headers Michael Ellerman <mpe@ellerman.id.au> - 2015-06-04 14:20 +0200
| From | Michael Ellerman <mpe@ellerman.id.au> |
|---|---|
| Date | 2015-06-04 14:20 +0200 |
| Subject | Re: [3/5] mm/hugetlb: remove arch_prepare/release_hugepage from arch headers |
| Message-ID | <pxChR-xc-29@gated-at.bofh.it> |
On Thu, 2015-28-05 at 11:52:35 UTC, Dominik Dingel wrote:
> Nobody used these hooks so they were removed from common code,
> and can now be removed from the architectures.
>
> Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
> Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
> Acked-by: Ralf Baechle <ralf@linux-mips.org>
> diff --git a/arch/powerpc/include/asm/hugetlb.h b/arch/powerpc/include/asm/hugetlb.h
> index 4bbd3c8..7eac89b 100644
> --- a/arch/powerpc/include/asm/hugetlb.h
> +++ b/arch/powerpc/include/asm/hugetlb.h
> @@ -168,15 +168,6 @@ static inline pte_t huge_ptep_get(pte_t *ptep)
> return *ptep;
> }
>
> -static inline int arch_prepare_hugepage(struct page *page)
> -{
> - return 0;
> -}
> -
> -static inline void arch_release_hugepage(struct page *page)
> -{
> -}
> -
> static inline void arch_clear_hugepage_flags(struct page *page)
> {
> }
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web