diff options
author | Andrea Arcangeli <[email protected]> | 2011-01-16 13:10:39 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-01-16 15:05:44 -0800 |
commit | b3697c0255d9d73eaaa4deb4512e3f0ff97b3b71 (patch) | |
tree | 59f7c5aa4c6ac509381071997f0888e2687cebd5 /tools/perf/util/trace-event-scripting.c | |
parent | 7e3d0eb0b028ed9e9384e6afcae2f22993bbdf25 (diff) |
fix non-x86 build failure in pmdp_get_and_clear
pmdp_get_and_clear/pmdp_clear_flush/pmdp_splitting_flush were trapped as
BUG() and they were defined only to diminish the risk of build issues on
not-x86 archs and to be consistent with the generic pte methods previously
defined in include/asm-generic/pgtable.h.
But they are causing more trouble than they were supposed to solve, so
it's simpler not to define them when THP is off.
This is also correcting the export of pmdp_splitting_flush which is
currently unused (x86 isn't using the generic implementation in
mm/pgtable-generic.c and no other arch needs that [yet]).
Signed-off-by: Andrea Arcangeli <[email protected]>
Sam Ravnborg <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: "Luck, Tony" <[email protected]>
Cc: James Bottomley <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions