Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95620
b: refs/heads/master
c: f6c133f
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Ingo Molnar committed Apr 30, 2008
1 parent 5a9649f commit 4af9f33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 575ca7351bf0546919060071797cccb4a05960df
refs/heads/master: f6c133f7d5ee3b82f5b34b988e897ea38cd8219c
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/genapic_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ unsigned int read_apic_id(void)
{
unsigned int id;

WARN_ON(preemptible());
WARN_ON(preemptible() && num_online_cpus() > 1);
id = apic_read(APIC_ID);
if (uv_system_type >= UV_X2APIC)
id |= __get_cpu_var(x2apic_extra_bits);
Expand Down

0 comments on commit 4af9f33

Please sign in to comment.