Commit 67817afb authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] switch the m68k pointer-table code over to page->lru

Switch the m68k pointer-table code over to page->lru.
parent de894013
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
typedef struct list_head ptable_desc; typedef struct list_head ptable_desc;
static LIST_HEAD(ptable_list); static LIST_HEAD(ptable_list);
#define PD_PTABLE(page) ((ptable_desc *)&(virt_to_page(page)->list)) #define PD_PTABLE(page) ((ptable_desc *)&(virt_to_page(page)->lru))
#define PD_PAGE(ptable) (list_entry(ptable, struct page, list)) #define PD_PAGE(ptable) (list_entry(ptable, struct page, lru))
#define PD_MARKBITS(dp) (*(unsigned char *)&PD_PAGE(dp)->index) #define PD_MARKBITS(dp) (*(unsigned char *)&PD_PAGE(dp)->index)
#define PTABLE_SIZE (PTRS_PER_PMD * sizeof(pmd_t)) #define PTABLE_SIZE (PTRS_PER_PMD * sizeof(pmd_t))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment