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 ("Merge 57a315cd71 ("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:
Greg Kroah-Hartman
2021-11-05 14:20:43 +01:00
parent fe8a1544ad
commit 24430bad49

View File

@@ -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();
}