]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 233305,233623:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Apr 2012 20:25:01 +0000 (20:25 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Apr 2012 20:25:01 +0000 (20:25 +0000)
commita57aecd619ec94e376a018431a90eede70f78442
treedf751659d7dbabd9237b4eba160f13a48766cba6
parentb866ef99cae02b3de2bf7dc9ec3b53f06f00c899
MFC 233305,233623:
- Mark the 'lapics' and 'ioapics' arrays here static since they are
  private to this file.  The 'lapics' array was actually shadowing a
  completely different 'lapics' array that is private to local_apic.c.
- Allocate the ioapics[] array dynamically since it is only needed for the
  duration of madt_setup_io().  This avoids having the array take up
  permanent space in the BSS.

git-svn-id: svn://svn.freebsd.org/base/stable/9@234147 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/x86/acpica/madt.c