X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fpgalloc.h;h=a00ee002cd1165f9eb298a4112a4a74712c05966;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=af90f7a6b857ccfa404b32366edb586c94c8e583;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/include/asm-powerpc/pgalloc.h b/include/asm-powerpc/pgalloc.h index af90f7a6b..a00ee002c 100644 --- a/include/asm-powerpc/pgalloc.h +++ b/include/asm-powerpc/pgalloc.h @@ -17,20 +17,13 @@ extern kmem_cache_t *pgtable_cache[]; #define PTE_CACHE_NUM 0 #define PMD_CACHE_NUM 1 #define PGD_CACHE_NUM 2 -#define HUGEPTE_CACHE_NUM 3 #else #define PTE_CACHE_NUM 0 #define PMD_CACHE_NUM 1 #define PUD_CACHE_NUM 1 #define PGD_CACHE_NUM 0 -#define HUGEPTE_CACHE_NUM 2 #endif -/* Dummy functions since we don't support execshield on ppc */ -#define arch_add_exec_range(mm, limit) do { ; } while (0) -#define arch_flush_exec_range(mm) do { ; } while (0) -#define arch_remove_exec_range(mm, limit) do { ; } while (0) - /* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License