summaryrefslogtreecommitdiffstats
path: root/lib/hweight.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2013-09-12 18:39:36 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-09-24 14:13:46 -0300
commit4921e320244e099bdf237fd10428594ce5f5b87d (patch)
treed663eff268832542768e4fdc464fb2c8ee936fe6 /lib/hweight.c
parentcf3b425dd8d99e01214515a6754f9e69ecc6dce8 (diff)
downloadlinux-4921e320244e099bdf237fd10428594ce5f5b87d.tar.gz
linux-4921e320244e099bdf237fd10428594ce5f5b87d.tar.bz2
linux-4921e320244e099bdf237fd10428594ce5f5b87d.zip
perf kmem: Make it work again on non NUMA machines
The commit '2814eb0 perf kmem: Remove die() calls' disabled 'perf kmem' command for machines without numa support. It made the command fail if '/sys/devices/system/node' dir wasn't found. Skipping the numa based initialization in case the directory is not found and continue execution. Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1379003976-5839-5-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions