diff options
author | jdike <jdike> | 2003-03-22 21:39:23 +0000 |
---|---|---|
committer | jdike <jdike> | 2003-03-22 21:39:23 +0000 |
commit | 233d6dd7ec44c8b0b90474f4b01f6356c2aec5f3 (patch) | |
tree | dd47a728978077763728193a8467aaed90d75590 | |
parent | 34cb2cfb9e7ec699a752e304713dc87e68cc3c70 (diff) | |
download | uml-history-233d6dd7ec44c8b0b90474f4b01f6356c2aec5f3.tar.gz |
/proc/cpuinfo is now more interesting.
-rw-r--r-- | arch/um/kernel/um_arch.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index 9e30c73..50de3cb 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c @@ -65,10 +65,14 @@ static int show_cpuinfo(struct seq_file *m, void *v) return 0; #endif - seq_printf(m, "bogomips\t: %lu.%02lu\n", + seq_printf(m, "processor\t: %d\n", index); + seq_printf(m, "vendor_id\t: User Mode Linux\n"); + seq_printf(m, "model name\t: UML\n"); + seq_printf(m, "mode\t\t: %s\n", CHOOSE_MODE("tt", "skas")); + seq_printf(m, "host\t\t: %s\n", host_info); + seq_printf(m, "bogomips\t: %lu.%02lu\n\n", loops_per_jiffy/(500000/HZ), (loops_per_jiffy/(5000/HZ)) % 100); - seq_printf(m, "host\t\t: %s\n", host_info); return(0); } |