From 1b3d4631e8b2b80a1b5c8c951554a15422609a42 Mon Sep 17 00:00:00 2001 From: Octavian Purdila Date: Sun, 22 Jan 2017 15:40:58 +0200 Subject: [PATCH] lkl: xor: select 8regs as default The 8regs template seems to be the optimum for the supported hosts so far and this decreases the boot time by about 400ms. If needed, we can tune this per host later. Signed-off-by: Octavian Purdila --- arch/lkl/include/asm/Kbuild | 1 - arch/lkl/include/asm/xor.h | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 arch/lkl/include/asm/xor.h diff --git a/arch/lkl/include/asm/Kbuild b/arch/lkl/include/asm/Kbuild index bcb6bdf55e12f9..edf6aa282af4b8 100644 --- a/arch/lkl/include/asm/Kbuild +++ b/arch/lkl/include/asm/Kbuild @@ -74,4 +74,3 @@ generic-y += trace_clock.h generic-y += uaccess.h generic-y += unaligned.h generic-y += word-at-a-time.h -generic-y += xor.h diff --git a/arch/lkl/include/asm/xor.h b/arch/lkl/include/asm/xor.h new file mode 100644 index 00000000000000..ad2be82068c78a --- /dev/null +++ b/arch/lkl/include/asm/xor.h @@ -0,0 +1,8 @@ +#ifndef _ASM_LKL_XOR_H +#define _ASM_LKL_XOR_H + +#include + +#define XOR_SELECT_TEMPLATE(x) (&xor_block_8regs) + +#endif /* _ASM_LKL_XOR_H */