diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-03-14 22:39:21 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2017-03-22 17:21:37 +0000 |
commit | f13d52cb3fad03c237572be2ee691e1fe2d1d7bb (patch) | |
tree | 5ab6ea7adaa1e5bd40ab2c747290108fe3232514 /arch/arm64/net | |
parent | c651aae5a7732287c1c9bc974ece4ed798780544 (diff) |
arm64: define BUG() instruction without CONFIG_BUG
This mirrors commit e9c38ceba8d9 ("ARM: 8455/1: define __BUG as
asm(BUG_INSTR) without CONFIG_BUG") to make the behavior of
arm64 consistent with arm and x86, and avoids lots of warnings in
randconfig builds, such as:
kernel/seccomp.c: In function '__seccomp_filter':
kernel/seccomp.c:666:1: error: no return statement in function returning non-void [-Werror=return-type]
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/net')
0 files changed, 0 insertions, 0 deletions