linux/arch/tile
Luc Van Oostenryck ea82daf435 tile: pass machine size to sparse
By default, sparse assumes a 64bit machine when compiled on x86-64
and 32bit when compiled on anything else.

This can of course create all sort of problems, like issuing false
warnings like: 'constant ... is so big it is unsigned long long'
or 'shift too big (32) for type unsigned long' when the architecture
is 64bit while sparse was compiled on a 32bit machine, or worse,
to not emit legitimate warnings in the reverse situation.

Fix this by passing to sparse the appropriate -m32/-m64 flag.

To: Chris Metcalf <cmetcalf@mellanox.com>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Chris Metcalf <cmetcalf@mellanox.com>
2017-10-31 16:54:03 -04:00
..
configs tile: defconfig: Cleanup from old Kconfig options 2017-07-20 10:29:50 -04:00
gxio Fix typo 2016-05-23 12:17:22 -04:00
include dma-mapping updates for 4.14: 2017-09-12 13:30:06 -07:00
kernel Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2017-09-22 13:02:54 -10:00
kvm rcu: Make SRCU optional by using CONFIG_SRCU 2015-01-06 11:04:29 -08:00
lib arch: Remove spin_unlock_wait() arch-specific definitions 2017-08-17 08:08:59 -07:00
mm Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2017-07-14 21:50:50 -07:00
Kbuild
Kconfig CONFIG_ARCH_HAS_RAW_COPY_USER is unconditional now 2017-04-26 12:11:01 -04:00
Kconfig.debug tile: remove DEBUG_EXTRA_FLAGS kernel config option 2013-09-03 14:52:17 -04:00
Makefile tile: pass machine size to sparse 2017-10-31 16:54:03 -04:00