ptrace: change signature of sys_ptrace() and friends
[pandora-kernel.git] / include / linux / memory.h
index 85582e1..06c1fa0 100644 (file)
@@ -23,6 +23,8 @@
 struct memory_block {
        unsigned long phys_index;
        unsigned long state;
+       int section_count;
+
        /*
         * This serializes all state change requests.  It isn't
         * held during creation because the control files are
@@ -113,6 +115,8 @@ extern int memory_dev_init(void);
 extern int remove_memory_block(unsigned long, struct mem_section *, int);
 extern int memory_notify(unsigned long val, void *v);
 extern int memory_isolate_notify(unsigned long val, void *v);
+extern struct memory_block *find_memory_block_hinted(struct mem_section *,
+                                                       struct memory_block *);
 extern struct memory_block *find_memory_block(struct mem_section *);
 #define CONFIG_MEM_BLOCK_SIZE  (PAGES_PER_SECTION<<PAGE_SHIFT)
 enum mem_add_context { BOOT, HOTPLUG };