diff options
author | David S. Miller <davem@davemloft.net> | 2009-11-19 01:19:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-19 01:19:03 -0500 |
commit | 3505d1a9fd65e2d3e00827857b6795d9d8983658 (patch) | |
tree | 941cfafdb57c427bb6b7ebf6354ee93b2a3693b5 /include/asm-generic | |
parent | dfef948ed2ba69cf041840b5e860d6b4e16fa0b1 (diff) | |
parent | 66b00a7c93ec782d118d2c03bd599cfd041e80a1 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/sfc/sfe4001.c
drivers/net/wireless/libertas/cmd.c
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/rtl8187se/Kconfig
drivers/staging/rtl8192e/Kconfig
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/fcntl.h | 21 | ||||
-rw-r--r-- | include/asm-generic/hardirq.h | 2 |
2 files changed, 13 insertions, 10 deletions
diff --git a/include/asm-generic/fcntl.h b/include/asm-generic/fcntl.h index 0c3dd8603927..495dc8af4044 100644 --- a/include/asm-generic/fcntl.h +++ b/include/asm-generic/fcntl.h | |||
@@ -73,14 +73,23 @@ | |||
73 | #define F_SETSIG 10 /* for sockets. */ | 73 | #define F_SETSIG 10 /* for sockets. */ |
74 | #define F_GETSIG 11 /* for sockets. */ | 74 | #define F_GETSIG 11 /* for sockets. */ |
75 | #endif | 75 | #endif |
76 | |||
77 | #ifndef CONFIG_64BIT | ||
78 | #ifndef F_GETLK64 | ||
79 | #define F_GETLK64 12 /* using 'struct flock64' */ | ||
80 | #define F_SETLK64 13 | ||
81 | #define F_SETLKW64 14 | ||
82 | #endif | ||
83 | #endif | ||
84 | |||
76 | #ifndef F_SETOWN_EX | 85 | #ifndef F_SETOWN_EX |
77 | #define F_SETOWN_EX 12 | 86 | #define F_SETOWN_EX 15 |
78 | #define F_GETOWN_EX 13 | 87 | #define F_GETOWN_EX 16 |
79 | #endif | 88 | #endif |
80 | 89 | ||
81 | #define F_OWNER_TID 0 | 90 | #define F_OWNER_TID 0 |
82 | #define F_OWNER_PID 1 | 91 | #define F_OWNER_PID 1 |
83 | #define F_OWNER_GID 2 | 92 | #define F_OWNER_PGRP 2 |
84 | 93 | ||
85 | struct f_owner_ex { | 94 | struct f_owner_ex { |
86 | int type; | 95 | int type; |
@@ -139,12 +148,6 @@ struct flock { | |||
139 | 148 | ||
140 | #ifndef CONFIG_64BIT | 149 | #ifndef CONFIG_64BIT |
141 | 150 | ||
142 | #ifndef F_GETLK64 | ||
143 | #define F_GETLK64 12 /* using 'struct flock64' */ | ||
144 | #define F_SETLK64 13 | ||
145 | #define F_SETLKW64 14 | ||
146 | #endif | ||
147 | |||
148 | #ifndef HAVE_ARCH_STRUCT_FLOCK64 | 151 | #ifndef HAVE_ARCH_STRUCT_FLOCK64 |
149 | #ifndef __ARCH_FLOCK64_PAD | 152 | #ifndef __ARCH_FLOCK64_PAD |
150 | #define __ARCH_FLOCK64_PAD | 153 | #define __ARCH_FLOCK64_PAD |
diff --git a/include/asm-generic/hardirq.h b/include/asm-generic/hardirq.h index 23bb4dad4962..62f59080e5cc 100644 --- a/include/asm-generic/hardirq.h +++ b/include/asm-generic/hardirq.h | |||
@@ -6,7 +6,7 @@ | |||
6 | #include <linux/irq.h> | 6 | #include <linux/irq.h> |
7 | 7 | ||
8 | typedef struct { | 8 | typedef struct { |
9 | unsigned long __softirq_pending; | 9 | unsigned int __softirq_pending; |
10 | } ____cacheline_aligned irq_cpustat_t; | 10 | } ____cacheline_aligned irq_cpustat_t; |
11 | 11 | ||
12 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ | 12 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ |