dm thin metadata: fix __udivdi3 undefined on 32-bit
[linux/fpc-iii.git] / drivers / nvdimm / pfn.h
blobcc243754acef00df27dbc5d11d36d5c9a8af7d6f
1 /*
2 * Copyright (c) 2014-2015, Intel Corporation.
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
14 #ifndef __NVDIMM_PFN_H
15 #define __NVDIMM_PFN_H
17 #include <linux/types.h>
19 #define PFN_SIG_LEN 16
20 #define PFN_SIG "NVDIMM_PFN_INFO\0"
22 struct nd_pfn_sb {
23 u8 signature[PFN_SIG_LEN];
24 u8 uuid[16];
25 u8 parent_uuid[16];
26 __le32 flags;
27 __le16 version_major;
28 __le16 version_minor;
29 __le64 dataoff;
30 __le64 npfns;
31 __le32 mode;
32 u8 padding[4012];
33 __le64 checksum;
35 #endif /* __NVDIMM_PFN_H */