Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 631332 Details for
Bug 716520
sys-kernel/gentoo-sources-5.6.2+: Add support for ZSTD-compressed kernel and initramfs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
lib: prepare xxhash for preboot environment
5001_ZSTD-v4-2-8-prepare-xxhash-for-preboot-env.patch (text/plain), 2.53 KB, created by
Mike Pagano
on 2020-04-08 14:53:53 UTC
(
hide
)
Description:
lib: prepare xxhash for preboot environment
Filename:
MIME Type:
Creator:
Mike Pagano
Created:
2020-04-08 14:53:53 UTC
Size:
2.53 KB
patch
obsolete
>diff --git a/lib/xxhash.c b/lib/xxhash.c >index aa61e2a3802f..b4364e011392 100644 >--- a/lib/xxhash.c >+++ b/lib/xxhash.c >@@ -80,13 +80,11 @@ void xxh32_copy_state(struct xxh32_state *dst, const struct xxh32_state *src) > { > memcpy(dst, src, sizeof(*dst)); > } >-EXPORT_SYMBOL(xxh32_copy_state); > > void xxh64_copy_state(struct xxh64_state *dst, const struct xxh64_state *src) > { > memcpy(dst, src, sizeof(*dst)); > } >-EXPORT_SYMBOL(xxh64_copy_state); > > /*-*************************** > * Simple Hash Functions >@@ -151,7 +149,6 @@ uint32_t xxh32(const void *input, const size_t len, const uint32_t seed) > > return h32; > } >-EXPORT_SYMBOL(xxh32); > > static uint64_t xxh64_round(uint64_t acc, const uint64_t input) > { >@@ -234,7 +231,6 @@ uint64_t xxh64(const void *input, const size_t len, const uint64_t seed) > > return h64; > } >-EXPORT_SYMBOL(xxh64); > > /*-************************************************** > * Advanced Hash Functions >@@ -251,7 +247,6 @@ void xxh32_reset(struct xxh32_state *statePtr, const uint32_t seed) > state.v4 = seed - PRIME32_1; > memcpy(statePtr, &state, sizeof(state)); > } >-EXPORT_SYMBOL(xxh32_reset); > > void xxh64_reset(struct xxh64_state *statePtr, const uint64_t seed) > { >@@ -265,7 +260,6 @@ void xxh64_reset(struct xxh64_state *statePtr, const uint64_t seed) > state.v4 = seed - PRIME64_1; > memcpy(statePtr, &state, sizeof(state)); > } >-EXPORT_SYMBOL(xxh64_reset); > > int xxh32_update(struct xxh32_state *state, const void *input, const size_t len) > { >@@ -334,7 +328,6 @@ int xxh32_update(struct xxh32_state *state, const void *input, const size_t len) > > return 0; > } >-EXPORT_SYMBOL(xxh32_update); > > uint32_t xxh32_digest(const struct xxh32_state *state) > { >@@ -372,7 +365,6 @@ uint32_t xxh32_digest(const struct xxh32_state *state) > > return h32; > } >-EXPORT_SYMBOL(xxh32_digest); > > int xxh64_update(struct xxh64_state *state, const void *input, const size_t len) > { >@@ -439,7 +431,6 @@ int xxh64_update(struct xxh64_state *state, const void *input, const size_t len) > > return 0; > } >-EXPORT_SYMBOL(xxh64_update); > > uint64_t xxh64_digest(const struct xxh64_state *state) > { >@@ -494,7 +485,19 @@ uint64_t xxh64_digest(const struct xxh64_state *state) > > return h64; > } >+ >+#ifndef XXH_PREBOOT >+EXPORT_SYMBOL(xxh32_copy_state); >+EXPORT_SYMBOL(xxh64_copy_state); >+EXPORT_SYMBOL(xxh32); >+EXPORT_SYMBOL(xxh64); >+EXPORT_SYMBOL(xxh32_reset); >+EXPORT_SYMBOL(xxh64_reset); >+EXPORT_SYMBOL(xxh32_update); >+EXPORT_SYMBOL(xxh32_digest); >+EXPORT_SYMBOL(xxh64_update); > EXPORT_SYMBOL(xxh64_digest); > > MODULE_LICENSE("Dual BSD/GPL"); > MODULE_DESCRIPTION("xxHash"); >+#endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 716520
:
630946
|
631330
| 631332 |
631334
|
631336
|
631338
|
631340
|
631342
|
631344
|
631346
|
632454