From 576a7e9fb2ec448d168c44c34213798636450faf Mon Sep 17 00:00:00 2001 From: Jake Weinstein Date: Tue, 11 Apr 2017 01:24:22 -0400 Subject: libc: warn that cpu-features.h is deprecated Test: mm Change-Id: I39668fc75e72004224e35ac9e7d6ffc858df2169 --- libc/arch-arm/include/machine/cpu-features.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc/arch-arm') diff --git a/libc/arch-arm/include/machine/cpu-features.h b/libc/arch-arm/include/machine/cpu-features.h index fc8c80dc7..a46149be8 100644 --- a/libc/arch-arm/include/machine/cpu-features.h +++ b/libc/arch-arm/include/machine/cpu-features.h @@ -28,6 +28,9 @@ #ifndef _ARM_MACHINE_CPU_FEATURES_H #define _ARM_MACHINE_CPU_FEATURES_H +// cpu-features.h is deprecated, so warn if it is included // +#warning cpu-features.h is deprecated + /* __ARM_ARCH__ is a number corresponding to the ARM revision * we're going to support. Our toolchain doesn't define __ARM_ARCH__ * so try to guess it. -- cgit v1.2.3