[Crash-utility] [PATCH 1/2] ARM: update some comments

Mika Westerberg ext-mika.1.westerberg at nokia.com
Fri Jan 28 08:17:03 UTC 2011


There are few comments which are not relevant anymore. Update the
comments to reflect the current situation.

Signed-off-by: Mika Westerberg <ext-mika.1.westerberg at nokia.com>
---
 arm.c        |    3 ---
 unwind_arm.c |    5 ++---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/arm.c b/arm.c
index 4e6ab3d..1752f62 100644
--- a/arm.c
+++ b/arm.c
@@ -1048,9 +1048,6 @@ arm_get_frame(struct bt_info *bt, ulong *pcp, ulong *spp)
 
 /*
  * Get the starting point for the active cpu in a diskdump.
- *
- * Note that we currently support only UP machines. In future we might want to
- * support SMP machines as well.
  */
 static int
 arm_get_dumpfile_stack_frame(struct bt_info *bt, ulong *nip, ulong *ksp)
diff --git a/unwind_arm.c b/unwind_arm.c
index 58fb5da..18fdad9 100644
--- a/unwind_arm.c
+++ b/unwind_arm.c
@@ -250,9 +250,8 @@ read_module_unwind_table(struct unwind_table *tbl, ulong addr)
 	idx_size = idx_stop - idx_start;
 
 	/*
-	 * We know the size of the index table. Allocate memory for the table
-	 * (including the EH table) and read the contents from the kernel
-	 * memory.
+	 * We know the size of the index table. Allocate memory for
+	 * the table and read the contents from the kernel memory.
 	 */
 	tbl->idx = calloc(idx_size, 1);
 	if (!tbl->idx)
-- 
1.7.3.2




More information about the Crash-utility mailing list