Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367951
b: refs/heads/master
c: 2b3c744
h: refs/heads/master
i:
  367949: d59331f
  367947: d1fd660
  367943: 4ccdc5a
  367935: 2717a0e
v: v3
  • Loading branch information
Richard Kuo committed May 1, 2013
1 parent 70a8cea commit 07db2e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7777746c40876834c1527689336e43c8381b1921
refs/heads/master: 2b3c744c3bcaab14ad2cc0f067d76c2f119085a5
5 changes: 5 additions & 0 deletions trunk/arch/hexagon/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ static int show_cpuinfo(struct seq_file *m, void *v)
{
int cpu = (unsigned long) v - 1;

#ifdef CONFIG_SMP
if (!cpu_online(cpu))
return 0;
#endif

seq_printf(m, "processor\t: %d\n", cpu);
seq_printf(m, "model name\t: Hexagon Virtual Machine\n");
seq_printf(m, "BogoMips\t: %lu.%02lu\n",
Expand Down

0 comments on commit 07db2e3

Please sign in to comment.