Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9005
b: refs/heads/master
c: b7ae9dd
h: refs/heads/master
i:
  9003: 01f483e
v: v3
  • Loading branch information
Heiko Carstens authored and Linus Torvalds committed Sep 17, 2005
1 parent 2aa4361 commit 663aa92
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 90f4e12112284f1a41594e2950e6eced5b064efc
refs/heads/master: b7ae9dd80a3ecf070ea0c5fe1d405cd7687d6c51
2 changes: 2 additions & 0 deletions trunk/arch/s390/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
struct cpuinfo_S390 *cpuinfo;
unsigned long n = (unsigned long) v - 1;

preempt_disable();
if (!n) {
seq_printf(m, "vendor_id : IBM/S390\n"
"# processors : %i\n"
Expand All @@ -658,6 +659,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
cpuinfo->cpu_id.ident,
cpuinfo->cpu_id.machine);
}
preempt_enable();
return 0;
}

Expand Down

0 comments on commit 663aa92

Please sign in to comment.