x86: Ignore function number when writing PIRQ routing table
authorBin Meng <bmeng.cn@gmail.com>
Tue, 23 Jun 2015 04:18:46 +0000 (12:18 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:17 +0000 (18:03 -0600)
commit8c38e4d0b8d37dcd3bfd2293481e220b1b4a3a42
treedd9c395e8e761f335c07a1f4b1c8a4b73e7acbe2
parent9c235436a3fbc8d6959c0acee276b7060e61f2e5
x86: Ignore function number when writing PIRQ routing table

In fill_irq_info() pci device's function number is written into
the table, however this is not really necessary. The function
number can be anything as OS doesn't care about this field,
neither does the PIRQ routing specification. Change to always
writing 0 as the function number.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/irq.c