diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-12-21 13:30:35 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-05 15:49:44 +0100 |
commit | aa7a10e6dc9366e3962cf8a9912b25f25d63177e (patch) | |
tree | 9f3221dd39c2ed684009e9cfe0ce3e67b3008b55 /include/common.h | |
parent | 48e7b8ae0de2e3a7ec08286e764c46768da9b2bf (diff) | |
download | barebox-aa7a10e6dc9366e3962cf8a9912b25f25d63177e.tar.gz barebox-aa7a10e6dc9366e3962cf8a9912b25f25d63177e.tar.xz |
linux/kernel.h: move ALIGN_DOWN() to include/linux/kernel.h
Linux commit ed067d4a859f ("linux/kernel.h: Add ALIGN_DOWN macro")
moved ALIGN_DOWN to include/linux/kernel.h.
Let's do likewise.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h index dd7445e9b6..54c76d4641 100644 --- a/include/common.h +++ b/include/common.h @@ -93,8 +93,6 @@ extern int (*barebox_main)(void); void __noreturn start_barebox(void); void shutdown_barebox(void); -#define ALIGN_DOWN(x, a) ((x) & ~((typeof(x))(a) - 1)) - #define ARRAY_AND_SIZE(x) (x), ARRAY_SIZE(x) /* |