page.h (020abf03cd659388f94cb328e1e1df0656e0d7ff) | page.h (7b7bf499f79de3f6c85a340c8453a78789523f85) |
---|---|
1/* 2 * arch/arm/include/asm/page.h 3 * 4 * Copyright (C) 1995-2003 Russell King 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 183 unchanged lines hidden (view full) --- 192#define __pgprot(x) (x) 193 194#endif /* STRICT_MM_TYPECHECKS */ 195 196#endif /* CONFIG_MMU */ 197 198typedef struct page *pgtable_t; 199 | 1/* 2 * arch/arm/include/asm/page.h 3 * 4 * Copyright (C) 1995-2003 Russell King 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 183 unchanged lines hidden (view full) --- 192#define __pgprot(x) (x) 193 194#endif /* STRICT_MM_TYPECHECKS */ 195 196#endif /* CONFIG_MMU */ 197 198typedef struct page *pgtable_t; 199 |
200#ifndef CONFIG_SPARSEMEM | 200#ifdef CONFIG_HAVE_ARCH_PFN_VALID |
201extern int pfn_valid(unsigned long); 202#endif 203 204#include <asm/memory.h> 205 206#endif /* !__ASSEMBLY__ */ 207 208#define VM_DATA_DEFAULT_FLAGS \ 209 (((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \ 210 VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) 211 212#include <asm-generic/getorder.h> 213 214#endif | 201extern int pfn_valid(unsigned long); 202#endif 203 204#include <asm/memory.h> 205 206#endif /* !__ASSEMBLY__ */ 207 208#define VM_DATA_DEFAULT_FLAGS \ 209 (((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \ 210 VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) 211 212#include <asm-generic/getorder.h> 213 214#endif |