diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mtd/cfi.h | 13 | ||||
| -rw-r--r-- | include/linux/netfilter/Kbuild | 2 | ||||
| -rw-r--r-- | include/linux/nfs_fs.h | 52 | ||||
| -rw-r--r-- | include/linux/timex.h | 3 |
4 files changed, 42 insertions, 28 deletions
diff --git a/include/linux/mtd/cfi.h b/include/linux/mtd/cfi.h index 09bfae6938b3..123948b14547 100644 --- a/include/linux/mtd/cfi.h +++ b/include/linux/mtd/cfi.h | |||
| @@ -199,6 +199,18 @@ struct cfi_pri_amdstd { | |||
| 199 | uint8_t TopBottom; | 199 | uint8_t TopBottom; |
| 200 | } __attribute__((packed)); | 200 | } __attribute__((packed)); |
| 201 | 201 | ||
| 202 | /* Vendor-Specific PRI for Atmel chips (command set 0x0002) */ | ||
| 203 | |||
| 204 | struct cfi_pri_atmel { | ||
| 205 | uint8_t pri[3]; | ||
| 206 | uint8_t MajorVersion; | ||
| 207 | uint8_t MinorVersion; | ||
| 208 | uint8_t Features; | ||
| 209 | uint8_t BottomBoot; | ||
| 210 | uint8_t BurstMode; | ||
| 211 | uint8_t PageMode; | ||
| 212 | } __attribute__((packed)); | ||
| 213 | |||
| 202 | struct cfi_pri_query { | 214 | struct cfi_pri_query { |
| 203 | uint8_t NumFields; | 215 | uint8_t NumFields; |
| 204 | uint32_t ProtField[1]; /* Not host ordered */ | 216 | uint32_t ProtField[1]; /* Not host ordered */ |
| @@ -464,6 +476,7 @@ struct cfi_fixup { | |||
| 464 | #define CFI_ID_ANY 0xffff | 476 | #define CFI_ID_ANY 0xffff |
| 465 | 477 | ||
| 466 | #define CFI_MFR_AMD 0x0001 | 478 | #define CFI_MFR_AMD 0x0001 |
| 479 | #define CFI_MFR_ATMEL 0x001F | ||
| 467 | #define CFI_MFR_ST 0x0020 /* STMicroelectronics */ | 480 | #define CFI_MFR_ST 0x0020 /* STMicroelectronics */ |
| 468 | 481 | ||
| 469 | void cfi_fixup(struct mtd_info *mtd, struct cfi_fixup* fixups); | 482 | void cfi_fixup(struct mtd_info *mtd, struct cfi_fixup* fixups); |
diff --git a/include/linux/netfilter/Kbuild b/include/linux/netfilter/Kbuild index d06311acd448..1d3a14e2da6e 100644 --- a/include/linux/netfilter/Kbuild +++ b/include/linux/netfilter/Kbuild | |||
| @@ -5,7 +5,7 @@ header-y := nf_conntrack_sctp.h nf_conntrack_tuple_common.h \ | |||
| 5 | xt_helper.h xt_length.h xt_limit.h xt_mac.h xt_mark.h \ | 5 | xt_helper.h xt_length.h xt_limit.h xt_mac.h xt_mark.h \ |
| 6 | xt_MARK.h xt_multiport.h xt_NFQUEUE.h xt_pkttype.h \ | 6 | xt_MARK.h xt_multiport.h xt_NFQUEUE.h xt_pkttype.h \ |
| 7 | xt_policy.h xt_realm.h xt_sctp.h xt_state.h xt_string.h \ | 7 | xt_policy.h xt_realm.h xt_sctp.h xt_state.h xt_string.h \ |
| 8 | xt_tcpmss.h xt_tcpudp.h | 8 | xt_tcpmss.h xt_tcpudp.h xt_SECMARK.h xt_CONNSECMARK.h |
| 9 | 9 | ||
| 10 | unifdef-y := nf_conntrack_common.h nf_conntrack_ftp.h \ | 10 | unifdef-y := nf_conntrack_common.h nf_conntrack_ftp.h \ |
| 11 | nf_conntrack_tcp.h nfnetlink.h x_tables.h xt_physdev.h | 11 | nf_conntrack_tcp.h nfnetlink.h x_tables.h xt_physdev.h |
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 530b1e6173b1..6c2066caeaab 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
| @@ -9,27 +9,6 @@ | |||
| 9 | #ifndef _LINUX_NFS_FS_H | 9 | #ifndef _LINUX_NFS_FS_H |
| 10 | #define _LINUX_NFS_FS_H | 10 | #define _LINUX_NFS_FS_H |
| 11 | 11 | ||
| 12 | #include <linux/in.h> | ||
| 13 | #include <linux/mm.h> | ||
| 14 | #include <linux/pagemap.h> | ||
| 15 | #include <linux/rwsem.h> | ||
| 16 | #include <linux/wait.h> | ||
| 17 | |||
| 18 | #include <linux/sunrpc/debug.h> | ||
| 19 | #include <linux/sunrpc/auth.h> | ||
| 20 | #include <linux/sunrpc/clnt.h> | ||
| 21 | |||
| 22 | #include <linux/nfs.h> | ||
| 23 | #include <linux/nfs2.h> | ||
| 24 | #include <linux/nfs3.h> | ||
| 25 | #include <linux/nfs4.h> | ||
| 26 | #include <linux/nfs_xdr.h> | ||
| 27 | |||
| 28 | #include <linux/nfs_fs_sb.h> | ||
| 29 | |||
| 30 | #include <linux/rwsem.h> | ||
| 31 | #include <linux/mempool.h> | ||
| 32 | |||
| 33 | /* | 12 | /* |
| 34 | * Enable debugging support for nfs client. | 13 | * Enable debugging support for nfs client. |
| 35 | * Requires RPC_DEBUG. | 14 | * Requires RPC_DEBUG. |
| @@ -48,11 +27,6 @@ | |||
| 48 | #define NFS_SUPER_MAGIC 0x6969 | 27 | #define NFS_SUPER_MAGIC 0x6969 |
| 49 | 28 | ||
| 50 | /* | 29 | /* |
| 51 | * These are the default flags for swap requests | ||
| 52 | */ | ||
| 53 | #define NFS_RPC_SWAPFLAGS (RPC_TASK_SWAPPER|RPC_TASK_ROOTCREDS) | ||
| 54 | |||
| 55 | /* | ||
| 56 | * When flushing a cluster of dirty pages, there can be different | 30 | * When flushing a cluster of dirty pages, there can be different |
| 57 | * strategies: | 31 | * strategies: |
| 58 | */ | 32 | */ |
| @@ -65,6 +39,32 @@ | |||
| 65 | 39 | ||
| 66 | #ifdef __KERNEL__ | 40 | #ifdef __KERNEL__ |
| 67 | 41 | ||
| 42 | #include <linux/in.h> | ||
| 43 | #include <linux/mm.h> | ||
| 44 | #include <linux/pagemap.h> | ||
| 45 | #include <linux/rwsem.h> | ||
| 46 | #include <linux/wait.h> | ||
| 47 | |||
| 48 | #include <linux/sunrpc/debug.h> | ||
| 49 | #include <linux/sunrpc/auth.h> | ||
| 50 | #include <linux/sunrpc/clnt.h> | ||
| 51 | |||
| 52 | #include <linux/nfs.h> | ||
| 53 | #include <linux/nfs2.h> | ||
| 54 | #include <linux/nfs3.h> | ||
| 55 | #include <linux/nfs4.h> | ||
| 56 | #include <linux/nfs_xdr.h> | ||
| 57 | |||
| 58 | #include <linux/nfs_fs_sb.h> | ||
| 59 | |||
| 60 | #include <linux/rwsem.h> | ||
| 61 | #include <linux/mempool.h> | ||
| 62 | |||
| 63 | /* | ||
| 64 | * These are the default flags for swap requests | ||
| 65 | */ | ||
| 66 | #define NFS_RPC_SWAPFLAGS (RPC_TASK_SWAPPER|RPC_TASK_ROOTCREDS) | ||
| 67 | |||
| 68 | /* | 68 | /* |
| 69 | * NFSv3/v4 Access mode cache entry | 69 | * NFSv3/v4 Access mode cache entry |
| 70 | */ | 70 | */ |
diff --git a/include/linux/timex.h b/include/linux/timex.h index 19bb6538b49e..d543d3871e38 100644 --- a/include/linux/timex.h +++ b/include/linux/timex.h | |||
| @@ -57,7 +57,6 @@ | |||
| 57 | #include <linux/time.h> | 57 | #include <linux/time.h> |
| 58 | 58 | ||
| 59 | #include <asm/param.h> | 59 | #include <asm/param.h> |
| 60 | #include <asm/timex.h> | ||
| 61 | 60 | ||
| 62 | /* | 61 | /* |
| 63 | * SHIFT_KG and SHIFT_KF establish the damping of the PLL and are chosen | 62 | * SHIFT_KG and SHIFT_KF establish the damping of the PLL and are chosen |
| @@ -191,6 +190,8 @@ struct timex { | |||
| 191 | #define TIME_BAD TIME_ERROR /* bw compat */ | 190 | #define TIME_BAD TIME_ERROR /* bw compat */ |
| 192 | 191 | ||
| 193 | #ifdef __KERNEL__ | 192 | #ifdef __KERNEL__ |
| 193 | #include <asm/timex.h> | ||
| 194 | |||
| 194 | /* | 195 | /* |
| 195 | * kernel variables | 196 | * kernel variables |
| 196 | * Note: maximum error = NTP synch distance = dispersion + delay / 2; | 197 | * Note: maximum error = NTP synch distance = dispersion + delay / 2; |
