https://github.com/torvalds/linux
Revision 12be1036c536f849ad6f9bba73cffa708aa965c3 authored by Thomas Petazzoni on 24 July 2018, 11:53:05 UTC, committed by David S. Miller on 30 July 2018, 20:00:56 UTC
This is necessary to be able to include <linux/msi.h> when
CONFIG_GENERIC_MSI_IRQ_DOMAIN is enabled. Without this, a build with
CONFIG_GENERIC_MSI_IRQ_DOMAIN fails with:

   In file included from drivers//ata/ahci.c:45:0:
>> include/linux/msi.h:226:10: error: unknown type name 'msi_alloc_info_t'; did you mean 'sg_alloc_fn'?
             msi_alloc_info_t *arg);
             ^~~~~~~~~~~~~~~~
             sg_alloc_fn
   include/linux/msi.h:230:9: error: unknown type name 'msi_alloc_info_t'; did you mean 'sg_alloc_fn'?
            msi_alloc_info_t *arg);
            ^~~~~~~~~~~~~~~~
            sg_alloc_fn
   include/linux/msi.h:239:12: error: unknown type name 'msi_alloc_info_t'; did you mean 'sg_alloc_fn'?
               msi_alloc_info_t *arg);
               ^~~~~~~~~~~~~~~~
               sg_alloc_fn
   include/linux/msi.h:240:22: error: unknown type name 'msi_alloc_info_t'; did you mean 'sg_alloc_fn'?
     void  (*msi_finish)(msi_alloc_info_t *arg, int retval);
                         ^~~~~~~~~~~~~~~~
                         sg_alloc_fn
   include/linux/msi.h:241:20: error: unknown type name 'msi_alloc_info_t'; did you mean 'sg_alloc_fn'?
     void  (*set_desc)(msi_alloc_info_t *arg,
                       ^~~~~~~~~~~~~~~~
                       sg_alloc_fn
   include/linux/msi.h:316:18: error: unknown type name 'msi_alloc_info_t'; did you mean 'sg_alloc_fn'?
           int nvec, msi_alloc_info_t *args);
                     ^~~~~~~~~~~~~~~~
                     sg_alloc_fn
   include/linux/msi.h:318:29: error: unknown type name 'msi_alloc_info_t'; did you mean 'sg_alloc_fn'?
            int virq, int nvec, msi_alloc_info_t *args);
                                ^~~~~~~~~~~~~~~~
                                sg_alloc_fn

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent f0afc6b
History
Tip revision: 12be1036c536f849ad6f9bba73cffa708aa965c3 authored by Thomas Petazzoni on 24 July 2018, 11:53:05 UTC
sparc: use asm-generic version of msi.h
Tip revision: 12be103
File Mode Size
Makefile -rw-r--r-- 418 bytes
generic_mpih-add1.c -rw-r--r-- 2.0 KB
generic_mpih-lshift.c -rw-r--r-- 2.1 KB
generic_mpih-mul1.c -rw-r--r-- 1.9 KB
generic_mpih-mul2.c -rw-r--r-- 1.9 KB
generic_mpih-mul3.c -rw-r--r-- 1.9 KB
generic_mpih-rshift.c -rw-r--r-- 2.1 KB
generic_mpih-sub1.c -rw-r--r-- 2.0 KB
longlong.h -rw-r--r-- 40.0 KB
mpi-bit.c -rw-r--r-- 1.5 KB
mpi-cmp.c -rw-r--r-- 1.6 KB
mpi-inline.h -rw-r--r-- 3.3 KB
mpi-internal.h -rw-r--r-- 6.0 KB
mpi-pow.c -rw-r--r-- 8.4 KB
mpicoder.c -rw-r--r-- 9.0 KB
mpih-cmp.c -rw-r--r-- 2.0 KB
mpih-div.c -rw-r--r-- 5.8 KB
mpih-mul.c -rw-r--r-- 14.2 KB
mpiutil.c -rw-r--r-- 2.7 KB

back to top