page.h (0898782247ae533d1f4e47a06bc5d4870931b284) | page.h (c62da0c35d58518ddb26ff641d2485596567fd96) |
---|---|
1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 1994 - 1999, 2000, 03 Ralf Baechle 7 * Copyright (C) 1999, 2000 Silicon Graphics, Inc. 8 */ --- 239 unchanged lines hidden (view full) --- 248 249#define virt_to_pfn(kaddr) PFN_DOWN(virt_to_phys((void *)(kaddr))) 250#define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr)) 251 252extern bool __virt_addr_valid(const volatile void *kaddr); 253#define virt_addr_valid(kaddr) \ 254 __virt_addr_valid((const volatile void *) (kaddr)) 255 | 1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 1994 - 1999, 2000, 03 Ralf Baechle 7 * Copyright (C) 1999, 2000 Silicon Graphics, Inc. 8 */ --- 239 unchanged lines hidden (view full) --- 248 249#define virt_to_pfn(kaddr) PFN_DOWN(virt_to_phys((void *)(kaddr))) 250#define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr)) 251 252extern bool __virt_addr_valid(const volatile void *kaddr); 253#define virt_addr_valid(kaddr) \ 254 __virt_addr_valid((const volatile void *) (kaddr)) 255 |
256#define VM_DATA_DEFAULT_FLAGS \ 257 (VM_READ | VM_WRITE | \ 258 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \ 259 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) | 256#define VM_DATA_DEFAULT_FLAGS VM_DATA_FLAGS_TSK_EXEC |
260 261#include <asm-generic/memory_model.h> 262#include <asm-generic/getorder.h> 263 264#endif /* _ASM_PAGE_H */ | 257 258#include <asm-generic/memory_model.h> 259#include <asm-generic/getorder.h> 260 261#endif /* _ASM_PAGE_H */ |