aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMark Salter <[email protected]>2014-08-13 09:04:49 -0700
committerKees Cook <[email protected]>2014-10-16 14:38:52 -0700
commitb615bbbff1c4d6fcd13007e75d75f6510aeb3808 (patch)
tree6b6ed6b813bd710d73aa77b5f68e6628e2a1a7fd /lib/memory-notifier-error-inject.c
parentbfe01a5ba2490f299e1d2d5508cbbbadd897bbe9 (diff)
arm: use generic fixmap.h
ARM is different from other architectures in that fixmap pages are indexed with a positive offset from FIXADDR_START. Other architectures index with a negative offset from FIXADDR_TOP. In order to use the generic fixmap.h definitions, this patch redefines FIXADDR_TOP to be inclusive of the useable range. That is, FIXADDR_TOP is the virtual address of the topmost fixed page. The newly defined FIXADDR_END is the first virtual address past the fixed mappings. Signed-off-by: Mark Salter <[email protected]> Reviewed-by: Doug Anderson <[email protected]> [kees: update for a05e54c103b0 ("ARM: 8031/2: change fixmap ...")] Signed-off-by: Kees Cook <[email protected]> Cc: Laura Abbott <[email protected]> Cc: Rob Herring <[email protected]> Acked-by: Nicolas Pitre <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions