diff options
author | Arnd Bergmann | 2018-04-11 01:29:13 +0200 |
---|---|---|
committer | Linus Torvalds | 2018-04-11 19:28:31 +0200 |
commit | 9d8a463a7016e9e5578a561588a18acef139919c (patch) | |
tree | 309e8df480a02103e89bd3213a1bdfcb8d7d24a2 /mm/migrate.c | |
parent | mm/hmm.c: remove superfluous RCU protection around radix tree lookup (diff) | |
download | kernel-qcow2-linux-9d8a463a7016e9e5578a561588a18acef139919c.tar.gz kernel-qcow2-linux-9d8a463a7016e9e5578a561588a18acef139919c.tar.xz kernel-qcow2-linux-9d8a463a7016e9e5578a561588a18acef139919c.zip |
mm/hmm: fix header file if/else/endif maze, again
The last fix was still wrong, as we need the inline dummy functions also
for the case that CONFIG_HMM is enabled but CONFIG_HMM_MIRROR is not:
kernel/fork.o: In function `__mmdrop':
fork.c:(.text+0x14f6): undefined reference to `hmm_mm_destroy'
This adds back the second copy of the dummy functions, hopefully
this time in the right place.
Link: http://lkml.kernel.org/r/20180404110236.804484-1-arnd@arndb.de
Fixes: 8900d06a277a ("mm/hmm: fix header file if/else/endif maze")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Jérôme Glisse <jglisse@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions