summaryrefslogtreecommitdiff
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorAlexander Graf <[email protected]>2018-06-22 01:38:26 -0700
committerBin Meng <[email protected]>2018-06-24 08:56:04 +0800
commit018664464628686d41f3d36e5428bb50d9094977 (patch)
treed8cd6f3d989a01bd3968264ad93d2a51eb556f57 /include/linux/linux_string.h
parent1ab2c010879baff93c690be8d98d294e9ccfab94 (diff)
efi.h: Do not use config options
Currently efi.h determines a few bits of its environment according to config options. This falls apart with the efi stub support which may result in efi.h getting pulled into the stub as well as real U-Boot code. In that case, one may be 32bit while the other one is 64bit. This patch changes the conditionals to use compiler provided defines instead. That way we always adhere to the build environment we're in and the definitions adjust automatically. Signed-off-by: Alexander Graf <[email protected]> Reviewed-by: Bin Meng <[email protected]> Tested-by: Bin Meng <[email protected]> [bmeng: added some comments to describe the __x86_64__ check] Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions