2010-08-10 12:00:59

by Christian Dietrich

[permalink] [raw]
Subject: [PATCH] arch/microblaze: Removing dead CONTIGUOUS_PAGE_ALLOC config option

CONFIG_CONTIGUOUS_PAGE_ALLOC doesn't exist in Kconfig, therefore removing
all references to it from the source.

Signed-off-by: Christian Dietrich <[email protected]>
---
arch/microblaze/include/asm/page.h | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/microblaze/include/asm/page.h b/arch/microblaze/include/asm/page.h
index 4f268fa..1f033c6 100644
--- a/arch/microblaze/include/asm/page.h
+++ b/arch/microblaze/include/asm/page.h
@@ -205,9 +205,6 @@ extern int page_is_ram(unsigned long pfn);
#define TOPHYS(addr) __virt_to_phys(addr)

#ifdef CONFIG_MMU
-#ifdef CONFIG_CONTIGUOUS_PAGE_ALLOC
-#define WANT_PAGE_VIRTUAL 1 /* page alloc 2 relies on this */
-#endif

#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
--
1.7.0.4


2010-08-11 08:05:49

by Michal Simek

[permalink] [raw]
Subject: Re: [PATCH] arch/microblaze: Removing dead CONTIGUOUS_PAGE_ALLOC config option

Christian Dietrich wrote:
> CONFIG_CONTIGUOUS_PAGE_ALLOC doesn't exist in Kconfig, therefore removing
> all references to it from the source.

Applied.

Thanks,
Michal

>
> Signed-off-by: Christian Dietrich <[email protected]>
> ---
> arch/microblaze/include/asm/page.h | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/arch/microblaze/include/asm/page.h b/arch/microblaze/include/asm/page.h
> index 4f268fa..1f033c6 100644
> --- a/arch/microblaze/include/asm/page.h
> +++ b/arch/microblaze/include/asm/page.h
> @@ -205,9 +205,6 @@ extern int page_is_ram(unsigned long pfn);
> #define TOPHYS(addr) __virt_to_phys(addr)
>
> #ifdef CONFIG_MMU
> -#ifdef CONFIG_CONTIGUOUS_PAGE_ALLOC
> -#define WANT_PAGE_VIRTUAL 1 /* page alloc 2 relies on this */
> -#endif
>
> #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
> VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)


--
Michal Simek, Ing. (M.Eng)
w: http://www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian