2003-08-11 16:52:16

by Dave Jones

[permalink] [raw]
Subject: [PATCH] sparse annotations for page_alloc

Again, more work to do here..

diff -urpN --exclude-from=/home/davej/.exclude bk-linus/mm/page_alloc.c linux-2.5/mm/page_alloc.c
--- bk-linus/mm/page_alloc.c 2003-08-07 21:57:58.000000000 +0100
+++ linux-2.5/mm/page_alloc.c 2003-08-07 22:20:17.000000000 +0100
@@ -1610,7 +1610,7 @@ void setup_per_zone_pages_min(void)
* changes.
*/
int min_free_kbytes_sysctl_handler(ctl_table *table, int write,
- struct file *file, void *buffer, size_t *length)
+ struct file *file, void __user *buffer, size_t *length)
{
proc_dointvec(table, write, file, buffer, length);
setup_per_zone_pages_min();