The zstd_common module was added upstream in commit https://github.com/torvalds/linux/commit/637a642f5ca5e850186bb64ac75ebb0f124b458d. But the kernel specific code was inlined into the library. This commit switches it to use the out of line method that we use for the other modules.
21 lines
717 B
C
21 lines
717 B
C
/*
|
|
* Copyright (c) 2016-2021, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under both the BSD-style license (found in the
|
|
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
|
* in the COPYING file in the root directory of this source tree).
|
|
* You may select, at your option, one of the above-listed licenses.
|
|
*/
|
|
#ifndef LINUX_MODULE_H
|
|
#define LINUX_MODULE_H
|
|
|
|
#define EXPORT_SYMBOL(symbol) \
|
|
void* __##symbol = symbol
|
|
#define EXPORT_SYMBOL_GPL(symbol) \
|
|
void* __##symbol = symbol
|
|
#define MODULE_LICENSE(license)
|
|
#define MODULE_DESCRIPTION(description)
|
|
|
|
#endif
|