OSDN Git Service

libc: warn that cpu-features.h is deprecated
authorJake Weinstein <xboxlover360@gmail.com>
Tue, 11 Apr 2017 05:24:22 +0000 (01:24 -0400)
committerJake Weinstein <xboxlover360@gmail.com>
Fri, 2 Jun 2017 04:30:20 +0000 (04:30 +0000)
Test: mm

Change-Id: I39668fc75e72004224e35ac9e7d6ffc858df2169

libc/arch-arm/include/machine/cpu-features.h

index fc8c80d..a46149b 100644 (file)
@@ -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.