Header guard symbols should match their file name to make guard collisions less likely. Offenders found with scripts/clean-header-guards.pl -vn. Cleaned up with scripts/clean-header-guards.pl, followed by some renaming of new guard symbols picked by the script to better ones. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
10 lines
168 B
C
10 lines
168 B
C
#ifndef PCI_HOST_PPCE500_H
|
|
#define PCI_HOST_PPCE500_H
|
|
|
|
static inline int ppce500_pci_map_irq_slot(int devno, int irq_num)
|
|
{
|
|
return (devno + irq_num) % 4;
|
|
}
|
|
|
|
#endif
|