]> git.baikalelectronics.ru Git - kernel.git/commit
x86: mpparse: clean up code by introducing a few helper functions
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Wed, 18 Mar 2009 15:12:28 +0000 (20:42 +0530)
committerIngo Molnar <mingo@elte.hu>
Wed, 18 Mar 2009 16:15:05 +0000 (17:15 +0100)
commit192e6d2e476adddba0f0cd991fc075757ec3fde9
tree2bd3e669a53e0372b4a78a5fb3ef9b2fcd65669c
parenta7570d85c645a8e1feee1613662dc6da6152dbd6
x86: mpparse: clean up code by introducing a few helper functions

Impact: cleanup

Refactor the MP-table parsing code via the introduction of the
following helper functions:

  skip_entry()
  smp_reserve_bootmem()
  check_irq_src()
  check_slot()

To simplify the code flow and to reduce the size of the
following oversized functions: smp_read_mpc(), smp_scan_config().

There should be no impact to functionality.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/mpparse.c