OpenCloudOS-Kernel/drivers/infiniband/hw/ipath
Vaishali Thakkar cb1ff431c3 IB/ipath: Convert use of __constant_<foo> to <foo>
In little endian cases, the macros be16_to_cpu and cpu_to_be64
unfolds to __swab{16,64} which provides special case for constants.
In big endian cases, __constant_be16_to_cpu and be16_to_cpu
expand directly to the same expression. The same applies for
__constant_cpu_to_be64 and cpu_to_be64.

So, replace __constant_be16_to_cpu with be16_to_cpu and
__constant_cpu_to_be64 with cpu_to_be64, with the goal of getting
rid of the definition of __constant_be16_to_cpu and
__constant_cpu_to_be64 completely.

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-07-14 13:20:13 -04:00
..
Kconfig x86/mm/pat, drivers/infiniband/ipath: Use arch_phys_wc_add() and require PAT disabled 2015-06-18 11:23:42 +02:00
Makefile IB: Replace EXTRA_CFLAGS with ccflags-y 2010-10-23 13:45:03 -07:00
ipath_common.h IB/ipath: Update copyright dates for files changed in 2008 2008-04-16 21:09:32 -07:00
ipath_cq.c IB/core: Change provider's API of create_cq to be extendible 2015-06-12 14:49:10 -04:00
ipath_debug.h IB/ipath: Prevent link-recovery code from negating admin disable 2008-04-16 21:09:26 -07:00
ipath_diag.c IB/ipath: Translate legacy diagpkt into newer extended diagpkt 2014-05-27 13:21:04 -07:00
ipath_dma.c IB/ipath: Remove ib_sg_dma_address() and ib_sg_dma_len() overloads 2014-04-01 11:16:31 -07:00
ipath_driver.c x86/mm/pat, drivers/infiniband/ipath: Use arch_phys_wc_add() and require PAT disabled 2015-06-18 11:23:42 +02:00
ipath_eeprom.c IB: Remove __constant_{endian} uses 2009-01-17 17:11:57 -08:00
ipath_file_ops.c infinibad: weird APIs switched to ->write_iter() 2015-04-11 22:29:42 -04:00
ipath_fs.c make simple_positive() public 2015-06-23 18:02:01 -04:00
ipath_iba6110.c IB/ipath: Replace open-coded ARRAY_SIZE with macro 2012-05-08 11:17:20 -07:00
ipath_init_chip.c IB/ipath: Remove unreachable code 2012-11-22 00:50:51 -08:00
ipath_intr.c IB/ipath: Use time_before()/_after() 2014-05-28 09:57:06 -07:00
ipath_kernel.h x86/mm/pat, drivers/infiniband/ipath: Use arch_phys_wc_add() and require PAT disabled 2015-06-18 11:23:42 +02:00
ipath_keys.c IB/ipath: Add locking for interrupt use of ipath_pd contexts vs free 2008-12-05 11:14:38 -08:00
ipath_mad.c IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
ipath_mmap.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ipath_mr.c IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08:00
ipath_qp.c IB/core: Ethernet L2 attributes in verbs/cm structures 2014-01-14 14:20:54 -08:00
ipath_rc.c IB: Remove __constant_{endian} uses 2009-01-17 17:11:57 -08:00
ipath_registers.h IB/ipath: Header file changes to support IBA7220 2008-04-16 21:09:30 -07:00
ipath_ruc.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
ipath_sdma.c IB/ipath: Use time_before()/_after() 2014-05-28 09:57:06 -07:00
ipath_srq.c RDMA/core: Add SRQ type field 2011-10-13 09:13:26 -07:00
ipath_stats.c IB/ipath: Don't count IB symbol and link errors unless link is UP 2008-12-05 11:13:19 -08:00
ipath_sysfs.c infiniband: Fix up users implicitly relying on getting stat.h 2011-10-31 19:31:34 -04:00
ipath_uc.c IB: Remove __constant_{endian} uses 2009-01-17 17:11:57 -08:00
ipath_ud.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ipath_user_pages.c IB/ipath: Change get_user_pages() usage to always NULL vmas 2014-09-19 10:03:11 -07:00
ipath_user_sdma.c IB/ipath: Convert ipath_user_sdma_pin_pages() to use get_user_pages_fast() 2013-11-08 14:43:11 -08:00
ipath_user_sdma.h IB/ipath: Fix many locking issues when switching to error state 2008-05-13 11:41:29 -07:00
ipath_verbs.c IB/ipath: Convert use of __constant_<foo> to <foo> 2015-07-14 13:20:13 -04:00
ipath_verbs.h IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
ipath_verbs_mcast.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ipath_wc_ppc64.c IB/ipath: Remove unused function in ipath_wc_ppc64 2015-02-13 11:17:29 -08:00
ipath_wc_x86_64.c x86/mm/pat, drivers/infiniband/ipath: Use arch_phys_wc_add() and require PAT disabled 2015-06-18 11:23:42 +02:00