diff options
author | Andi Kleen <ak@linux.intel.com> | 2015-11-30 18:48:42 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-12-06 12:55:53 +0100 |
commit | da008ee72cabdee0ee98d3a3580ca5cfb8d2d1f1 (patch) | |
tree | e5033eb74c824be54254347f2dcde30add767cbd /arch/x86/include/asm/atomic.h | |
parent | perf/core: Collapse common IPI pattern (diff) | |
download | linux-da008ee72cabdee0ee98d3a3580ca5cfb8d2d1f1.tar.xz linux-da008ee72cabdee0ee98d3a3580ca5cfb8d2d1f1.zip |
perf/x86/intel: Fix __initconst declaration in the RAPL perf driver
Fix a definition in the perf rapl driver. __initconst must
be applied to a const object, but to declare a const pointer
you need to use * const ..., not const ... *
This fixes a section attribute conflict with LTO builds.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/1448905722-2767-1-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/atomic.h')
0 files changed, 0 insertions, 0 deletions