summaryrefslogtreecommitdiffstats
path: root/lib/ashldi3.c
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2019-01-02 19:57:03 +0100
committerMatthew Wilcox <willy@infradead.org>2019-01-07 04:12:58 +0100
commitb0606fed6eece16a421034eca0bbea9a08b90e91 (patch)
treef705b58760a60fce2d6f03a934a5038154505c1b /lib/ashldi3.c
parentXArray: Permit storing 2-byte-aligned pointers (diff)
downloadlinux-b0606fed6eece16a421034eca0bbea9a08b90e91.tar.xz
linux-b0606fed6eece16a421034eca0bbea9a08b90e91.zip
XArray: Honour reserved entries in xa_insert
xa_insert() should treat reserved entries as occupied, not as available. Also, it should treat requests to insert a NULL pointer as a request to reserve the slot. Add xa_insert_bh() and xa_insert_irq() for completeness. Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'lib/ashldi3.c')
0 files changed, 0 insertions, 0 deletions