/* * Copyright (C) 2014 Alexander Shiyan * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #ifndef __DT_BINDINGS_CLOCK_IMX1_H #define __DT_BINDINGS_CLOCK_IMX1_H #define IMX1_CLK_DUMMY 0 #define IMX1_CLK_CLK32 1 #define IMX1_CLK_CLK16M_EXT 2 #define IMX1_CLK_CLK16M 3 #define IMX1_CLK_CLK32_PREMULT 4 #define IMX1_CLK_PREM 5 #define IMX1_CLK_MPLL 6 #define IMX1_CLK_MPLL_GATE 7 #define IMX1_CLK_SPLL 8 #define IMX1_CLK_SPLL_GATE 9 #define IMX1_CLK_MCU 10 #define IMX1_CLK_FCLK 11 #define IMX1_CLK_HCLK 12 #define IMX1_CLK_CLK48M 13 #define IMX1_CLK_PER1 14 #define IMX1_CLK_PER2 15 #define IMX1_CLK_PER3 16 #define IMX1_CLK_CLKO 17 #define IMX1_CLK_UART3_GATE 18 #define IMX1_CLK_SSI2_GATE 19 #define IMX1_CLK_BROM_GATE 20 #define IMX1_CLK_DMA_GATE 21 #define IMX1_CLK_CSI_GATE 22 #define IMX1_CLK_MMA_GATE 23 #define IMX1_CLK_USBD_GATE 24 #define IMX1_CLK_MAX 25 #endif cleanup'>emaclite-cleanup net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/rds/rdma.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-01-28 11:52:02 +0100
committerHelge Deller <deller@gmx.de>2017-01-28 21:54:23 +0100
commit2ad5d52d42810bed95100a3d912679d8864421ec (patch)
tree7f93e2f906b1c86f5b76c0f4c0978d41a8a29861 /net/rds/rdma.c
parent83b5d1e3d3013dbf90645a5d07179d018c8243fa (diff)
parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header
In swab.h the "#if BITS_PER_LONG > 32" breaks compiling userspace programs if BITS_PER_LONG is #defined by userspace with the sizeof() compiler builtin. Solve this problem by using __BITS_PER_LONG instead. Since we now #include asm/bitsperlong.h avoid further potential userspace pollution by moving the #define of SHIFT_PER_LONG to bitops.h which is not exported to userspace. This patch unbreaks compiling qemu on hppa/parisc. Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'net/rds/rdma.c')