[PATCH] x86_64: Remove obsolete ARCH_HAS_ATOMIC_UNSIGNED and page_flags_t
Has been introduced for x86-64 at some point to save memory in struct page, but has been obsolete for some time. Just remove it. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
1dff7f3db5
commit
07808b74e7
@@ -134,7 +134,7 @@ static int sync_page(void *word)
|
||||
struct address_space *mapping;
|
||||
struct page *page;
|
||||
|
||||
page = container_of((page_flags_t *)word, struct page, flags);
|
||||
page = container_of((unsigned long *)word, struct page, flags);
|
||||
|
||||
/*
|
||||
* page_mapping() is being called without PG_locked held.
|
||||
|
@@ -128,7 +128,7 @@ static void bad_page(const char *function, struct page *page)
|
||||
printk(KERN_EMERG "Bad page state at %s (in process '%s', page %p)\n",
|
||||
function, current->comm, page);
|
||||
printk(KERN_EMERG "flags:0x%0*lx mapping:%p mapcount:%d count:%d\n",
|
||||
(int)(2*sizeof(page_flags_t)), (unsigned long)page->flags,
|
||||
(int)(2*sizeof(unsigned long)), (unsigned long)page->flags,
|
||||
page->mapping, page_mapcount(page), page_count(page));
|
||||
printk(KERN_EMERG "Backtrace:\n");
|
||||
dump_stack();
|
||||
|
Reference in New Issue
Block a user