Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38526
b: refs/heads/master
c: 7908a0c
h: refs/heads/master
v: v3
  • Loading branch information
Grant Grundler authored and Matthew Wilcox committed Oct 4, 2006
1 parent 81116c8 commit 79f9e2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9cf8f370f0777a24808b3485f3b5abb8e736d3e8
refs/heads/master: 7908a0c72ee78ba5476c2a773d808c77593719c6
5 changes: 3 additions & 2 deletions trunk/arch/parisc/kernel/processor.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,9 @@ static int __init processor_probe(struct parisc_device *dev)
p = &cpu_data[cpuid];
boot_cpu_data.cpu_count++;

/* initialize counters */
memset(p, 0, sizeof(struct cpuinfo_parisc));
/* initialize counters - CPU 0 gets it_value set in time_init() */
if (cpuid)
memset(p, 0, sizeof(struct cpuinfo_parisc));

p->loops_per_jiffy = loops_per_jiffy;
p->dev = dev; /* Save IODC data in case we need it */
Expand Down

0 comments on commit 79f9e2c

Please sign in to comment.