mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
sandbox: Correctly define BITS_PER_LONG
SANDBOX_BITS_PER_LONG is the number of bits in long on the sandbox platform. Signed-off-by: Michal Suchanek <msuchanek@suse.de>
This commit is contained in:
parent
9fb3d7a7c5
commit
3cbaa4e1ef
1 changed files with 1 additions and 5 deletions
|
@ -18,11 +18,7 @@ typedef unsigned short umode_t;
|
|||
/*
|
||||
* Number of bits in a C 'long' on this architecture.
|
||||
*/
|
||||
#ifdef CONFIG_PHYS_64BIT
|
||||
#define BITS_PER_LONG 64
|
||||
#else /* CONFIG_PHYS_64BIT */
|
||||
#define BITS_PER_LONG 32
|
||||
#endif /* CONFIG_PHYS_64BIT */
|
||||
#define BITS_PER_LONG CONFIG_SANDBOX_BITS_PER_LONG
|
||||
|
||||
#ifdef CONFIG_PHYS_64BIT
|
||||
typedef unsigned long long dma_addr_t;
|
||||
|
|
Loading…
Reference in a new issue