diff options
author | Andy Shevchenko <[email protected]> | 2016-01-20 22:13:41 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-01-21 08:40:26 +0100 |
commit | 22c43f36b5cf22a7e4506cb3a53f3ad2a43f60f7 (patch) | |
tree | f99510ca7d089caf5ba6242b3c3c25e2adfb5b7f /lib/netdev-notifier-error-inject.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 <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Ong, Boon Leong <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/1453320821-64328-1-git-send-email-andriy.shevchenko@linux.intel.com
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions