Randy Dunlap
391e3007e4
arc: fix build errors in arc/include/asm/delay.h
...
[ Upstream commit 2423665ec53f2a29191b35382075e9834288a975 ]
Fix build errors in arch/arc/'s delay.h:
- add "extern unsigned long loops_per_jiffy;"
- add <asm-generic/types.h> for "u64"
In file included from ../drivers/infiniband/hw/cxgb3/cxio_hal.c:32:
../arch/arc/include/asm/delay.h: In function '__udelay':
../arch/arc/include/asm/delay.h:61:12: error: 'u64' undeclared (first use in this function)
loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32;
^~~
In file included from ../drivers/infiniband/hw/cxgb3/cxio_hal.c:32:
../arch/arc/include/asm/delay.h: In function '__udelay':
../arch/arc/include/asm/delay.h:63:37: error: 'loops_per_jiffy' undeclared (first use in this function)
loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32;
^~~~~~~~~~~~~~~
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: linux-snps-arc@lists.infradead.org
Cc: Elad Kanfi <eladkan@mellanox.com>
Cc: Leon Romanovsky <leonro@mellanox.com>
Cc: Ofer Levi <oferle@mellanox.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-05 09:26:31 +02:00
..
2018-07-25 11:25:11 +02:00
2018-09-05 09:26:31 +02:00
2018-08-24 13:09:20 +02:00
2018-08-24 13:09:08 +02:00
2017-12-20 10:10:34 +01:00
2017-11-02 11:20:11 +01:00
2018-05-30 07:52:00 +02:00
2017-11-02 11:20:11 +01:00
2018-03-28 18:24:38 +02:00
2018-06-21 04:02:52 +09:00
2018-05-30 07:52:11 +02:00
2018-02-28 10:19:44 +01:00
2018-08-24 13:09:11 +02:00
2018-02-13 10:19:46 +01:00
2018-08-03 07:50:40 +02:00
2018-09-05 09:26:30 +02:00
2018-02-16 20:23:11 +01:00
2018-02-13 10:19:46 +01:00
2018-08-24 13:09:11 +02:00
2018-08-24 13:09:22 +02:00
2018-09-05 09:26:27 +02:00
2018-08-24 13:09:09 +02:00
2017-11-02 11:19:54 +01:00
2018-06-21 04:02:54 +09:00
2018-05-30 07:52:25 +02:00
2017-12-17 15:07:59 +01:00
2018-04-24 09:36:33 +02:00
2018-02-22 15:42:23 +01:00
2018-09-05 09:26:29 +02:00
2018-07-03 11:24:47 +02:00
2018-08-15 18:12:52 +02:00