summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2011-02-22 17:05:51 -0500
committerDave Jones <davej@redhat.com>2011-02-22 17:05:51 -0500
commitb5ef372add4e7c1c0604e4ae4c7271222cfac9b0 (patch)
treee131f9e27c0fa63e2290fa0e3c49fe7bca051436
parent0e665928ebccbf801a0cb42deea6a6e5367f8205 (diff)
inline address space size display
-rw-r--r--x86info.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/x86info.c b/x86info.c
index bf94472..b422aa6 100644
--- a/x86info.c
+++ b/x86info.c
@@ -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);