mapi: split entry_generate_or_patch for x86 tls
authorLepton Wu <lepton@chromium.org>
Fri, 25 Oct 2019 23:54:35 +0000 (16:54 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 30 Oct 2019 00:18:06 +0000 (17:18 -0700)
commit1fb75bee90d769111573d6b6dd696b9cbd6d976a
tree17a3f8fe19fb0131f5b8261a0a32638918440001
parent45206d7673adb1484cbdb3eadaf82e0849c9cdcf
mapi: split entry_generate_or_patch for x86 tls

The code works exactly the same with before. Just split this function
out so we can reuse it.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Lepton Wu <lepton@chromium.org>
src/mapi/entry_x86_tls.h