diff options
author | Dave Jones <davej@redhat.com> | 2011-02-22 17:05:51 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2011-02-22 17:05:51 -0500 |
commit | b5ef372add4e7c1c0604e4ae4c7271222cfac9b0 (patch) | |
tree | e131f9e27c0fa63e2290fa0e3c49fe7bca051436 | |
parent | 0e665928ebccbf801a0cb42deea6a6e5367f8205 (diff) |
inline address space size display
-rw-r--r-- | x86info.c | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -32,13 +32,6 @@ static void separator(void) } -static void display_address_sizes(struct cpudata *cpu) -{ - printf("Address sizes : %u bits physical, %u bits virtual\n", - cpu->phyaddr_bits, cpu->viraddr_bits); -} - - static void display_detailed_info(struct cpudata *cpu) { bind_cpu(cpu); /* FIXME: Eventually remove once 'gather' has all the per-cpu stuff */ @@ -91,7 +84,8 @@ static void display_detailed_info(struct cpudata *cpu) } if (show_addr_sizes) - display_address_sizes(cpu); + printf("Address sizes : %u bits physical, %u bits virtual\n", + cpu->phyaddr_bits, cpu->viraddr_bits); if (show_MHz) { display_MHz(cpu); |