
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
---

 memhotplug-dave/mm/sparse.c |    5 +++++
 1 files changed, 5 insertions(+)

diff -puN mm/sparse.c~sparse-debug mm/sparse.c
--- memhotplug/mm/sparse.c~sparse-debug	2005-04-11 15:29:00.000000000 -0700
+++ memhotplug-dave/mm/sparse.c	2005-04-11 15:29:00.000000000 -0700
@@ -21,6 +21,7 @@ void memory_present(int nid, unsigned lo
 	unsigned long pfn = start;
 	unsigned long size = 0;
 
+	printk("sparse.c: %s()\n", __func__);
 	start &= PAGE_SECTION_MASK;
 	for (pfn = start; pfn < end; pfn += PAGES_PER_SECTION) {
 		unsigned long section = pfn >> PFN_SECTION_SHIFT;
@@ -75,6 +76,7 @@ struct page *sparse_decode_mem_map(unsig
 static int sparse_init_one_section(struct mem_section *ms,
 		unsigned long pnum, struct page *mem_map)
 {
+	printk("sparse.c: %s()\n", __func__);
 	if (!valid_section(ms))
 		return -EINVAL;
 
@@ -87,6 +89,7 @@ static struct page *sparse_early_mem_map
 {
 	struct page *map;
 	int nid = early_pfn_to_nid(pnum << PFN_SECTION_SHIFT);
+	printk("sparse.c: %s()\n", __func__);
 
 	map = alloc_remap(nid, sizeof(struct page) * PAGES_PER_SECTION);
 	if (map)
@@ -110,6 +113,7 @@ void sparse_init(void)
 {
 	unsigned long pnum;
 	struct page *map;
+	printk("sparse.c: %s()\n", __func__);
 
 	for (pnum = 0; pnum < NR_MEM_SECTIONS; pnum++) {
 		if (!valid_section_nr(pnum))
@@ -129,6 +133,7 @@ void sparse_init(void)
 int sparse_add_one_section(int start_pfn, int nr_pages, struct page *map)
 {
 	struct mem_section *ms = __pfn_to_section(start_pfn);
+	printk("sparse.c: %s()\n", __func__);
 
 	if (ms->section_mem_map & SECTION_MARKED_PRESENT)
 		return -EEXIST;
_
