You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Masahiro Yamada
b41411954d
linux/kernel.h: sync min, max, min3, max3 macros with Linux
...
U-Boot has never cared about the type when we get max/min of two
values, but Linux Kernel does. This commit gets min, max, min3, max3
macros synced with the kernel introducing type checks.
Many of references of those macros must be fixed to suppress warnings.
We have two options:
- Use min, max, min3, max3 only when the arguments have the same type
(or add casts to the arguments)
- Use min_t/max_t instead with the appropriate type for the first
argument
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Pavel Machek <pavel@denx.de>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
[trini: Fixup arch/blackfin/lib/string.c]
Signed-off-by: Tom Rini <trini@ti.com>
11 years ago
..
byteorder
…
mtd
kbuild: force to define __UBOOT__ in all the C sources
11 years ago
unaligned
…
usb
Merge branch 'master' of git://git.denx.de/u-boot-ti
11 years ago
apm_bios.h
…
bch.h
…
bitops.h
…
bitrev.h
…
compat.h
include: move various macros to include/linux/kernel.h
11 years ago
compiler-clang.h
compiler*.h: sync include/linux/compiler*.h with Linux 3.16
11 years ago
compiler-gcc.h
compiler_gcc: prevent redefining attributes
11 years ago
compiler-gcc3.h
compiler*.h: sync include/linux/compiler*.h with Linux 3.16
11 years ago
compiler-gcc4.h
compiler*.h: sync include/linux/compiler*.h with Linux 3.16
11 years ago
compiler-intel.h
compiler*.h: sync include/linux/compiler*.h with Linux 3.16
11 years ago
compiler.h
compiler*.h: sync include/linux/compiler*.h with Linux 3.16
11 years ago
crc7.h
…
crc8.h
Add crc8 routine
12 years ago
crc32.h
…
ctype.h
…
edd.h
…
err.h
linux include: add ERR_CAST
11 years ago
ethtool.h
…
fb.h
fb: Add a prototype for board_video_skip()
11 years ago
immap_qe.h
qe: move immap_qe.h from arch directory into common directory
11 years ago
input.h
…
ioctl.h
…
ioport.h
…
kbuild.h
clang: workaround for generated constants
11 years ago
kconfig.h
kconfig: import Kconfig files from Linux 3.16-rc7
11 years ago
kernel.h
linux/kernel.h: sync min, max, min3, max3 macros with Linux
11 years ago
linkage.h
add weak entry definition
12 years ago
linux_string.h
…
list.h
…
list_sort.h
lib, list_sort: add list_sort from linux 3.14
11 years ago
lzo.h
…
math64.h
…
mbus.h
arm: mvebu: Add common mbus functions to use on Marvell SoCs
11 years ago
mc146818rtc.h
…
mdio.h
…
mii.h
…
netdevice.h
…
poison.h
…
posix_types.h
…
rbtree.h
kbuild: force to define __UBOOT__ in all the C sources
11 years ago
rbtree_augmented.h
lib, rbtree: resync with Linux-3.14
11 years ago
screen_info.h
…
serial_reg.h
arm: debug: replace license blocks with SPDX
11 years ago
sizes.h
sizes.h - consolidate for all architectures
11 years ago
stat.h
…
stddef.h
…
string.h
string.h: add missing prototypes
11 years ago
stringify.h
…
time.h
…
types.h
Provide option to avoid defining a custom version of uintptr_t.
11 years ago