1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 3 * LZO1X Compressor from LZO 4 * 5 * Copyright (C) 1996-2012 Markus F.X.J. Oberhumer <markus@oberhumer.com> 6 * 7 * The full LZO package can be found at: 8 * http://www.oberhumer.com/opensource/lzo/ 9 * 10 * Changed for Linux kernel use by: 11 * Nitin Gupta <nitingupta910@gmail.com> 12 * Richard Purdie <rpurdie@openedhand.com> 13 */ 14 15 #define LZO_SAFE(name) name##_safe 16 #define HAVE_OP(x) ((size_t)(op_end - op) >= (size_t)(x)) 17 18 #include "lzo1x_compress.c" 19