Revert "misc: uid_stat: Include linux/atomic.h instead of asm/atomic.h"
authorAmit Pundir <amit.pundir@linaro.org>
Mon, 25 Apr 2016 11:28:20 +0000 (16:58 +0530)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 25 Apr 2016 16:49:46 +0000 (22:19 +0530)
This reverts commit 8d3a6c1538fb021448c4f6381f6191061f947ba1.

This series of patches revert AOSP UID_STAT and NET_ACTIVITY_STATS drivers.
I could not find any meaningful usage of these interfaces in AOSP master.

UID_STAT driver expose "/proc/uid_stat/*" interfaces but it is only
used in AOSP master as in what appears be an out of date bandwidth
test in frameworks/base and in somewhat recent battery utils test
in external/chromium-trace project.

NET_ACTIVITY_STATS driver expose "/proc/net/stat/activity" interface
but I can not track its usage anywhere in AOSP at all.

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
drivers/misc/uid_stat.c

index 185c69c9738aa9cd8cf762a575d80fba4e08b5ba..8b8c9a22360be35d51890f8fcab34e2cee9443a3 100644 (file)
@@ -13,7 +13,7 @@
  *
  */
 
-#include <linux/atomic.h>
+#include <asm/atomic.h>
 
 #include <linux/err.h>
 #include <linux/init.h>