]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commita6830278568a8bb9758aac152db15187741e0113
tree2bd3e669a53e0372b4a78a5fb3ef9b2fcd65669c
parentcde5edbda8ba7d600154ce4171125a48e4d2a21b
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