SOURCES (LINUX_2_6): linux-2.6-suspend2-page.patch - proper types
baggins
baggins at pld-linux.org
Sat May 6 00:46:18 CEST 2006
Author: baggins Date: Fri May 5 22:46:18 2006 GMT
Module: SOURCES Tag: LINUX_2_6
---- Log message:
- proper types
---- Files affected:
SOURCES:
linux-2.6-suspend2-page.patch (1.1.2.1 -> 1.1.2.2)
---- Diffs:
================================================================
Index: SOURCES/linux-2.6-suspend2-page.patch
diff -u SOURCES/linux-2.6-suspend2-page.patch:1.1.2.1 SOURCES/linux-2.6-suspend2-page.patch:1.1.2.2
--- SOURCES/linux-2.6-suspend2-page.patch:1.1.2.1 Sat May 6 00:30:28 2006
+++ SOURCES/linux-2.6-suspend2-page.patch Sat May 6 00:46:13 2006
@@ -56,7 +56,7 @@
cheetah_ecache_flush_init();
}
-+int page_is_ram(int pfn)
++int page_is_ram(unsigned long pfn)
+{
+ return pfn_valid(pfn);
+}
@@ -71,7 +71,7 @@
#define __pgd(x) ((pgd_t) { (x) } )
#define __pgprot(x) ((pgprot_t) { (x) } )
-+extern int page_is_ram(unsigned long pagenr);
++extern int page_is_ram(unsigned long pfn);
+
#else
/*
@@ -83,7 +83,7 @@
extern struct cache_palias *sparc_aliases;
-+extern int page_is_ram(unsigned long pagenr);
++extern int page_is_ram(int pfn);
+
/* passing structs on the Sparc slow us down tremendously... */
@@ -95,7 +95,7 @@
#define copy_page(X,Y) memcpy((void *)(X), (void *)(Y), PAGE_SIZE)
extern void copy_user_page(void *to, void *from, unsigned long vaddr, struct page *topage);
-+extern int page_is_ram(unsigned long pagenr);
++extern int page_is_ram(unsigned long pfn);
+
/* Unlike sparc32, sparc64's parameter passing API is more
* sane in that structures which as small enough are passed
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/linux-2.6-suspend2-page.patch?r1=1.1.2.1&r2=1.1.2.2&f=u
More information about the pld-cvs-commit
mailing list