diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-29 13:33:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-29 13:33:41 -0400 |
commit | a3c0e7b1fe1fc62bba5f591c4bc404eea96823b8 (patch) | |
tree | 494409b373e8d43e72c88d228e77f3d3aaf46a91 /tools | |
parent | 939ca9f1751d1d65424f80b9284b6c18e78c7f4e (diff) | |
parent | 4c806b897d6075bfa5067e524fb058c57ab64e7b (diff) |
Merge tag 'libnvdimm-fixes-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
More libnvdimm updates from Dan Williams:
- Complete the reworks to interoperate with powerpc dynamic huge page
sizes
- Fix a crash due to missed accounting for the powerpc 'struct
page'-memmap mapping granularity
- Fix badblock initialization for volatile (DRAM emulated) pmem ranges
- Stop triggering request_key() notifications to userspace when
NVDIMM-security is disabled / not present
- Miscellaneous small fixups
* tag 'libnvdimm-fixes-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
libnvdimm/region: Enable MAP_SYNC for volatile regions
libnvdimm: prevent nvdimm from requesting key when security is disabled
libnvdimm/region: Initialize bad block for volatile namespaces
libnvdimm/nfit_test: Fix acpi_handle redefinition
libnvdimm/altmap: Track namespace boundaries in altmap
libnvdimm: Fix endian conversion issuesÂ
libnvdimm/dax: Pick the right alignment default when creating dax devices
powerpc/book3s64: Export has_transparent_hugepage() related functions.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/nvdimm/test/nfit_test.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/testing/nvdimm/test/nfit_test.h b/tools/testing/nvdimm/test/nfit_test.h index 448d686da8b1..0bf5640f1f07 100644 --- a/tools/testing/nvdimm/test/nfit_test.h +++ b/tools/testing/nvdimm/test/nfit_test.h | |||
@@ -4,6 +4,7 @@ | |||
4 | */ | 4 | */ |
5 | #ifndef __NFIT_TEST_H__ | 5 | #ifndef __NFIT_TEST_H__ |
6 | #define __NFIT_TEST_H__ | 6 | #define __NFIT_TEST_H__ |
7 | #include <linux/acpi.h> | ||
7 | #include <linux/list.h> | 8 | #include <linux/list.h> |
8 | #include <linux/uuid.h> | 9 | #include <linux/uuid.h> |
9 | #include <linux/ioport.h> | 10 | #include <linux/ioport.h> |
@@ -202,9 +203,6 @@ struct nd_intel_lss { | |||
202 | __u32 status; | 203 | __u32 status; |
203 | } __packed; | 204 | } __packed; |
204 | 205 | ||
205 | union acpi_object; | ||
206 | typedef void *acpi_handle; | ||
207 | |||
208 | typedef struct nfit_test_resource *(*nfit_test_lookup_fn)(resource_size_t); | 206 | typedef struct nfit_test_resource *(*nfit_test_lookup_fn)(resource_size_t); |
209 | typedef union acpi_object *(*nfit_test_evaluate_dsm_fn)(acpi_handle handle, | 207 | typedef union acpi_object *(*nfit_test_evaluate_dsm_fn)(acpi_handle handle, |
210 | const guid_t *guid, u64 rev, u64 func, | 208 | const guid_t *guid, u64 rev, u64 func, |