Skip to contentSkip to conversation

sparse annotations for page_alloc

PATCH New [email protected] 1 participant 1 message Aug 11, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparse annotations for page_alloc

Again, more work to do here..

mm/page_alloc.c +1 -1
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/mm/page_alloc.c linux-2.5/mm/page_alloc.c
@@ -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();