diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-01-20 22:13:41 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-01-21 08:40:26 +0100 |
commit | 22c43f36b5cf22a7e4506cb3a53f3ad2a43f60f7 (patch) | |
tree | f99510ca7d089caf5ba6242b3c3c25e2adfb5b7f /lib/debugobjects.c | |
parent | d394f2d9d8e1e7b4959819344baf67b5995da9b0 (diff) |
x86/platform/quark: Print boundaries correctly
When we print values, such as @size, we have to understand that
it's derived from [begin .. end] as:
size = end - begin + 1
On the opposite the @end is derived from the rest as:
end = begin + size - 1
Correct the IMR code to print values correctly.
Note that @__end_rodata actually points to the next address
after the aligned .rodata section.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ong, Boon Leong <boon.leong.ong@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1453320821-64328-1-git-send-email-andriy.shevchenko@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions