Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88853
b: refs/heads/master
c: 0df1ba8
h: refs/heads/master
i:
  88851: 2ae215a
v: v3
  • Loading branch information
Glauber de Oliveira Costa authored and Ingo Molnar committed Apr 17, 2008
1 parent 9922c04 commit d959b70
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 1db17f553425ae679bc771d4796b7349f00cb1d9
refs/heads/master: 0df1ba8cabc6c2d613921c75e525826e6eb3210b
6 changes: 6 additions & 0 deletions trunk/arch/x86/kernel/smpboot_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ static void __init disable_smp(void)

static int __init smp_sanity_check(unsigned max_cpus)
{
if (!physid_isset(hard_smp_processor_id(), phys_cpu_present_map)) {
printk(KERN_WARNING "weird, boot CPU (#%d) not listed"
"by the BIOS.\n", hard_smp_processor_id());
physid_set(hard_smp_processor_id(), phys_cpu_present_map);
}

/*
* If we couldn't find an SMP configuration at boot time,
* get out of here now!
Expand Down

0 comments on commit d959b70

Please sign in to comment.