mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
ANDROID: fix build error in arch/arm64/include/asm/arch_timer.h
clang is throwing up when it hits the BUILD_BUG_ON() macro at the moment, so remove it from arch_time.h for arm64 to fix the build at this point in time. Fixes:a1cb80290f("Merge57a315cd71("Merge tag 'timers-core-2021-10-31' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline") Cc: Nick Desaulniers <ndesaulniers@google.com> Cc: Marc Zyngier <mzyngier@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I0ccd2fa80b3f9fea92464ba40cd3ca6ad013a5d1
This commit is contained in:
@@ -117,8 +117,6 @@ void arch_timer_reg_write_cp15(int access, enum arch_timer_reg reg, u64 val)
|
||||
default:
|
||||
BUILD_BUG();
|
||||
}
|
||||
} else {
|
||||
BUILD_BUG();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -141,7 +139,6 @@ u64 arch_timer_reg_read_cp15(int access, enum arch_timer_reg reg)
|
||||
}
|
||||
}
|
||||
|
||||
BUILD_BUG();
|
||||
unreachable();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user