forked from KolibriOS/kolibrios
ddk: 3.19-rc1
git-svn-id: svn://kolibrios.org@5270 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#ifndef _LINUX_MM_H
|
||||
#define _LINUX_MM_H
|
||||
|
||||
#include <kernel.h>
|
||||
#include <linux/errno.h>
|
||||
|
||||
#define VM_NORESERVE 0x00200000
|
||||
|
||||
#define nth_page(page,n) ((void*)(((page_to_phys(page)>>12)+(n))<<12))
|
||||
|
||||
#define page_to_pfn(page) (page_to_phys(page)>>12)
|
||||
#define __page_to_pfn(page) (page_to_phys(page)>>12)
|
||||
|
||||
/* to align the pointer to the (next) page boundary */
|
||||
#define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE)
|
||||
|
Reference in New Issue
Block a user