diff options
-rw-r--r-- | Documentation/arm/00-INDEX | 2 | ||||
-rw-r--r-- | arch/arm/kernel/ptrace.c | 9 | ||||
-rw-r--r-- | arch/sparc/Makefile | 2 | ||||
-rw-r--r-- | arch/sparc/lib/atomic32.c | 1 | ||||
-rw-r--r-- | drivers/char/watchdog/mpcore_wdt.c | 4 | ||||
-rw-r--r-- | drivers/mmc/mmc.c | 5 | ||||
-rw-r--r-- | drivers/serial/8250_pci.c | 2 | ||||
-rw-r--r-- | drivers/video/bw2.c | 1 | ||||
-rw-r--r-- | drivers/video/cg14.c | 1 | ||||
-rw-r--r-- | drivers/video/cg3.c | 1 | ||||
-rw-r--r-- | drivers/video/cg6.c | 3 | ||||
-rw-r--r-- | drivers/video/ffb.c | 1 | ||||
-rw-r--r-- | drivers/video/leo.c | 1 | ||||
-rw-r--r-- | drivers/video/p9100.c | 1 | ||||
-rw-r--r-- | drivers/video/tcx.c | 3 | ||||
-rw-r--r-- | include/asm-arm/arch-pxa/irq.h | 5 | ||||
-rw-r--r-- | include/asm-arm/io.h | 6 | ||||
-rw-r--r-- | include/asm-arm/memory.h | 1 | ||||
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 19 |
19 files changed, 31 insertions, 37 deletions
diff --git a/Documentation/arm/00-INDEX b/Documentation/arm/00-INDEX index d753fe59a248..2c6a3b38967e 100644 --- a/Documentation/arm/00-INDEX +++ b/Documentation/arm/00-INDEX | |||
@@ -16,5 +16,7 @@ empeg | |||
16 | - Empeg documentation | 16 | - Empeg documentation |
17 | mem_alignment | 17 | mem_alignment |
18 | - alignment abort handler documentation | 18 | - alignment abort handler documentation |
19 | memory.txt | ||
20 | - description of the virtual memory layout | ||
19 | nwfpe | 21 | nwfpe |
20 | - NWFPE floating point emulator documentation | 22 | - NWFPE floating point emulator documentation |
diff --git a/arch/arm/kernel/ptrace.c b/arch/arm/kernel/ptrace.c index 9a340e790da5..2b84f78d7b0f 100644 --- a/arch/arm/kernel/ptrace.c +++ b/arch/arm/kernel/ptrace.c | |||
@@ -242,6 +242,15 @@ get_branch_address(struct task_struct *child, unsigned long pc, unsigned long in | |||
242 | */ | 242 | */ |
243 | long aluop1, aluop2, ccbit; | 243 | long aluop1, aluop2, ccbit; |
244 | 244 | ||
245 | if ((insn & 0x0fffffd0) == 0x012fff10) { | ||
246 | /* | ||
247 | * bx or blx | ||
248 | */ | ||
249 | alt = get_user_reg(child, insn & 15); | ||
250 | break; | ||
251 | } | ||
252 | |||
253 | |||
245 | if ((insn & 0xf000) != 0xf000) | 254 | if ((insn & 0xf000) != 0xf000) |
246 | break; | 255 | break; |
247 | 256 | ||
diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile index dea48f6cff38..4cdbb2d59ed0 100644 --- a/arch/sparc/Makefile +++ b/arch/sparc/Makefile | |||
@@ -34,7 +34,7 @@ libs-y += arch/sparc/prom/ arch/sparc/lib/ | |||
34 | # Renaming is done to avoid confusing pattern matching rules in 2.5.45 (multy-) | 34 | # Renaming is done to avoid confusing pattern matching rules in 2.5.45 (multy-) |
35 | INIT_Y := $(patsubst %/, %/built-in.o, $(init-y)) | 35 | INIT_Y := $(patsubst %/, %/built-in.o, $(init-y)) |
36 | CORE_Y := $(core-y) | 36 | CORE_Y := $(core-y) |
37 | CORE_Y += kernel/ mm/ fs/ ipc/ security/ crypto/ | 37 | CORE_Y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ |
38 | CORE_Y := $(patsubst %/, %/built-in.o, $(CORE_Y)) | 38 | CORE_Y := $(patsubst %/, %/built-in.o, $(CORE_Y)) |
39 | DRIVERS_Y := $(patsubst %/, %/built-in.o, $(drivers-y)) | 39 | DRIVERS_Y := $(patsubst %/, %/built-in.o, $(drivers-y)) |
40 | NET_Y := $(patsubst %/, %/built-in.o, $(net-y)) | 40 | NET_Y := $(patsubst %/, %/built-in.o, $(net-y)) |
diff --git a/arch/sparc/lib/atomic32.c b/arch/sparc/lib/atomic32.c index cb3cf0f22822..de84f8534bac 100644 --- a/arch/sparc/lib/atomic32.c +++ b/arch/sparc/lib/atomic32.c | |||
@@ -66,7 +66,6 @@ int atomic_add_unless(atomic_t *v, int a, int u) | |||
66 | return ret != u; | 66 | return ret != u; |
67 | } | 67 | } |
68 | 68 | ||
69 | static inline void atomic_clear_mask(unsigned long mask, unsigned long *addr) | ||
70 | /* Atomic operations are already serializing */ | 69 | /* Atomic operations are already serializing */ |
71 | void atomic_set(atomic_t *v, int i) | 70 | void atomic_set(atomic_t *v, int i) |
72 | { | 71 | { |
diff --git a/drivers/char/watchdog/mpcore_wdt.c b/drivers/char/watchdog/mpcore_wdt.c index 9defcf861b67..b4d843489881 100644 --- a/drivers/char/watchdog/mpcore_wdt.c +++ b/drivers/char/watchdog/mpcore_wdt.c | |||
@@ -180,10 +180,6 @@ static ssize_t mpcore_wdt_write(struct file *file, const char *data, size_t len, | |||
180 | { | 180 | { |
181 | struct mpcore_wdt *wdt = file->private_data; | 181 | struct mpcore_wdt *wdt = file->private_data; |
182 | 182 | ||
183 | /* Can't seek (pwrite) on this device */ | ||
184 | if (ppos != &file->f_pos) | ||
185 | return -ESPIPE; | ||
186 | |||
187 | /* | 183 | /* |
188 | * Refresh the timer. | 184 | * Refresh the timer. |
189 | */ | 185 | */ |
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index d336a1d65dc7..b586a83a9b4c 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c | |||
@@ -932,8 +932,9 @@ static void mmc_read_scrs(struct mmc_host *host) | |||
932 | 932 | ||
933 | sg_init_one(&sg, (u8*)card->raw_scr, 8); | 933 | sg_init_one(&sg, (u8*)card->raw_scr, 8); |
934 | 934 | ||
935 | err = mmc_wait_for_req(host, &mrq); | 935 | mmc_wait_for_req(host, &mrq); |
936 | if (err != MMC_ERR_NONE) { | 936 | |
937 | if (cmd.error != MMC_ERR_NONE || data.error != MMC_ERR_NONE) { | ||
937 | mmc_card_set_dead(card); | 938 | mmc_card_set_dead(card); |
938 | continue; | 939 | continue; |
939 | } | 940 | } |
diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c index 8d92adfbb8bd..8adca0ce267f 100644 --- a/drivers/serial/8250_pci.c +++ b/drivers/serial/8250_pci.c | |||
@@ -516,7 +516,7 @@ pci_timedia_setup(struct serial_private *priv, struct pciserial_board *board, | |||
516 | break; | 516 | break; |
517 | case 3: | 517 | case 3: |
518 | offset = board->uart_offset; | 518 | offset = board->uart_offset; |
519 | bar = 1; | 519 | /* FALLTHROUGH */ |
520 | case 4: /* BAR 2 */ | 520 | case 4: /* BAR 2 */ |
521 | case 5: /* BAR 3 */ | 521 | case 5: /* BAR 3 */ |
522 | case 6: /* BAR 4 */ | 522 | case 6: /* BAR 4 */ |
diff --git a/drivers/video/bw2.c b/drivers/video/bw2.c index d3728f60961e..9248fe1fbb1a 100644 --- a/drivers/video/bw2.c +++ b/drivers/video/bw2.c | |||
@@ -121,7 +121,6 @@ struct bw2_par { | |||
121 | unsigned long fbsize; | 121 | unsigned long fbsize; |
122 | 122 | ||
123 | struct sbus_dev *sdev; | 123 | struct sbus_dev *sdev; |
124 | struct list_head list; | ||
125 | }; | 124 | }; |
126 | 125 | ||
127 | /** | 126 | /** |
diff --git a/drivers/video/cg14.c b/drivers/video/cg14.c index 1bed50f2a276..a56147102abb 100644 --- a/drivers/video/cg14.c +++ b/drivers/video/cg14.c | |||
@@ -206,7 +206,6 @@ struct cg14_par { | |||
206 | int mode; | 206 | int mode; |
207 | int ramsize; | 207 | int ramsize; |
208 | struct sbus_dev *sdev; | 208 | struct sbus_dev *sdev; |
209 | struct list_head list; | ||
210 | }; | 209 | }; |
211 | 210 | ||
212 | static void __cg14_reset(struct cg14_par *par) | 211 | static void __cg14_reset(struct cg14_par *par) |
diff --git a/drivers/video/cg3.c b/drivers/video/cg3.c index a1354e7e0513..9fcd89608ed7 100644 --- a/drivers/video/cg3.c +++ b/drivers/video/cg3.c | |||
@@ -124,7 +124,6 @@ struct cg3_par { | |||
124 | unsigned long fbsize; | 124 | unsigned long fbsize; |
125 | 125 | ||
126 | struct sbus_dev *sdev; | 126 | struct sbus_dev *sdev; |
127 | struct list_head list; | ||
128 | }; | 127 | }; |
129 | 128 | ||
130 | /** | 129 | /** |
diff --git a/drivers/video/cg6.c b/drivers/video/cg6.c index 9debe642fd2f..050835e39aa3 100644 --- a/drivers/video/cg6.c +++ b/drivers/video/cg6.c | |||
@@ -265,7 +265,6 @@ struct cg6_par { | |||
265 | unsigned long fbsize; | 265 | unsigned long fbsize; |
266 | 266 | ||
267 | struct sbus_dev *sdev; | 267 | struct sbus_dev *sdev; |
268 | struct list_head list; | ||
269 | }; | 268 | }; |
270 | 269 | ||
271 | static int cg6_sync(struct fb_info *info) | 270 | static int cg6_sync(struct fb_info *info) |
@@ -612,7 +611,7 @@ static void cg6_chip_init(struct fb_info *info) | |||
612 | struct cg6_par *par = (struct cg6_par *) info->par; | 611 | struct cg6_par *par = (struct cg6_par *) info->par; |
613 | struct cg6_tec __iomem *tec = par->tec; | 612 | struct cg6_tec __iomem *tec = par->tec; |
614 | struct cg6_fbc __iomem *fbc = par->fbc; | 613 | struct cg6_fbc __iomem *fbc = par->fbc; |
615 | u32 rev, conf, mode, tmp; | 614 | u32 rev, conf, mode; |
616 | int i; | 615 | int i; |
617 | 616 | ||
618 | /* Turn off stuff in the Transform Engine. */ | 617 | /* Turn off stuff in the Transform Engine. */ |
diff --git a/drivers/video/ffb.c b/drivers/video/ffb.c index 2584daec7bbf..c4870d559afc 100644 --- a/drivers/video/ffb.c +++ b/drivers/video/ffb.c | |||
@@ -359,7 +359,6 @@ struct ffb_par { | |||
359 | int prom_parent_node; | 359 | int prom_parent_node; |
360 | int dac_rev; | 360 | int dac_rev; |
361 | int board_type; | 361 | int board_type; |
362 | struct list_head list; | ||
363 | }; | 362 | }; |
364 | 363 | ||
365 | static void FFBFifo(struct ffb_par *par, int n) | 364 | static void FFBFifo(struct ffb_par *par, int n) |
diff --git a/drivers/video/leo.c b/drivers/video/leo.c index 376d4a171ec7..494287f8f8bf 100644 --- a/drivers/video/leo.c +++ b/drivers/video/leo.c | |||
@@ -197,7 +197,6 @@ struct leo_par { | |||
197 | unsigned long fbsize; | 197 | unsigned long fbsize; |
198 | 198 | ||
199 | struct sbus_dev *sdev; | 199 | struct sbus_dev *sdev; |
200 | struct list_head list; | ||
201 | }; | 200 | }; |
202 | 201 | ||
203 | static void leo_wait(struct leo_lx_krn __iomem *lx_krn) | 202 | static void leo_wait(struct leo_lx_krn __iomem *lx_krn) |
diff --git a/drivers/video/p9100.c b/drivers/video/p9100.c index 18bcda23d2cf..b251e754e16c 100644 --- a/drivers/video/p9100.c +++ b/drivers/video/p9100.c | |||
@@ -140,7 +140,6 @@ struct p9100_par { | |||
140 | unsigned long fbsize; | 140 | unsigned long fbsize; |
141 | 141 | ||
142 | struct sbus_dev *sdev; | 142 | struct sbus_dev *sdev; |
143 | struct list_head list; | ||
144 | }; | 143 | }; |
145 | 144 | ||
146 | /** | 145 | /** |
diff --git a/drivers/video/tcx.c b/drivers/video/tcx.c index fe4f63f3849d..2b27b4474001 100644 --- a/drivers/video/tcx.c +++ b/drivers/video/tcx.c | |||
@@ -125,7 +125,6 @@ struct tcx_par { | |||
125 | int lowdepth; | 125 | int lowdepth; |
126 | 126 | ||
127 | struct sbus_dev *sdev; | 127 | struct sbus_dev *sdev; |
128 | struct list_head list; | ||
129 | }; | 128 | }; |
130 | 129 | ||
131 | /* Reset control plane so that WID is 8-bit plane. */ | 130 | /* Reset control plane so that WID is 8-bit plane. */ |
@@ -444,7 +443,7 @@ static void tcx_init_one(struct sbus_dev *sdev) | |||
444 | 443 | ||
445 | tcx_reset(&all->info); | 444 | tcx_reset(&all->info); |
446 | 445 | ||
447 | tcx_blank(0, &all->info); | 446 | tcx_blank(FB_BLANK_UNBLANK, &all->info); |
448 | 447 | ||
449 | if (fb_alloc_cmap(&all->info.cmap, 256, 0)) { | 448 | if (fb_alloc_cmap(&all->info.cmap, 256, 0)) { |
450 | printk(KERN_ERR "tcx: Could not allocate color map.\n"); | 449 | printk(KERN_ERR "tcx: Could not allocate color map.\n"); |
diff --git a/include/asm-arm/arch-pxa/irq.h b/include/asm-arm/arch-pxa/irq.h index d770e4b37ae1..48c60f5eff6a 100644 --- a/include/asm-arm/arch-pxa/irq.h +++ b/include/asm-arm/arch-pxa/irq.h | |||
@@ -12,8 +12,3 @@ | |||
12 | 12 | ||
13 | #define fixup_irq(x) (x) | 13 | #define fixup_irq(x) (x) |
14 | 14 | ||
15 | /* | ||
16 | * This prototype is required for cascading of multiplexed interrupts. | ||
17 | * Since it doesn't exist elsewhere, we'll put it here for now. | ||
18 | */ | ||
19 | extern void do_IRQ(int irq, struct pt_regs *regs); | ||
diff --git a/include/asm-arm/io.h b/include/asm-arm/io.h index ae69db4a1010..0cf4d4f99600 100644 --- a/include/asm-arm/io.h +++ b/include/asm-arm/io.h | |||
@@ -42,9 +42,9 @@ extern void __raw_writesb(void __iomem *addr, const void *data, int bytelen); | |||
42 | extern void __raw_writesw(void __iomem *addr, const void *data, int wordlen); | 42 | extern void __raw_writesw(void __iomem *addr, const void *data, int wordlen); |
43 | extern void __raw_writesl(void __iomem *addr, const void *data, int longlen); | 43 | extern void __raw_writesl(void __iomem *addr, const void *data, int longlen); |
44 | 44 | ||
45 | extern void __raw_readsb(void __iomem *addr, void *data, int bytelen); | 45 | extern void __raw_readsb(const void __iomem *addr, void *data, int bytelen); |
46 | extern void __raw_readsw(void __iomem *addr, void *data, int wordlen); | 46 | extern void __raw_readsw(const void __iomem *addr, void *data, int wordlen); |
47 | extern void __raw_readsl(void __iomem *addr, void *data, int longlen); | 47 | extern void __raw_readsl(const void __iomem *addr, void *data, int longlen); |
48 | 48 | ||
49 | #define __raw_writeb(v,a) (__chk_io_ptr(a), *(volatile unsigned char __force *)(a) = (v)) | 49 | #define __raw_writeb(v,a) (__chk_io_ptr(a), *(volatile unsigned char __force *)(a) = (v)) |
50 | #define __raw_writew(v,a) (__chk_io_ptr(a), *(volatile unsigned short __force *)(a) = (v)) | 50 | #define __raw_writew(v,a) (__chk_io_ptr(a), *(volatile unsigned short __force *)(a) = (v)) |
diff --git a/include/asm-arm/memory.h b/include/asm-arm/memory.h index a547ee598c6c..3e572364ee73 100644 --- a/include/asm-arm/memory.h +++ b/include/asm-arm/memory.h | |||
@@ -122,6 +122,7 @@ static inline void *phys_to_virt(unsigned long x) | |||
122 | */ | 122 | */ |
123 | #define __pa(x) __virt_to_phys((unsigned long)(x)) | 123 | #define __pa(x) __virt_to_phys((unsigned long)(x)) |
124 | #define __va(x) ((void *)__phys_to_virt((unsigned long)(x))) | 124 | #define __va(x) ((void *)__phys_to_virt((unsigned long)(x))) |
125 | #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) | ||
125 | 126 | ||
126 | /* | 127 | /* |
127 | * Virtual <-> DMA view memory address translations | 128 | * Virtual <-> DMA view memory address translations |
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 62c0e5bd931c..8827389abaf7 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
@@ -992,13 +992,12 @@ static void tcp_v6_send_reset(struct sk_buff *skb) | |||
992 | /* sk = NULL, but it is safe for now. RST socket required. */ | 992 | /* sk = NULL, but it is safe for now. RST socket required. */ |
993 | if (!ip6_dst_lookup(NULL, &buff->dst, &fl)) { | 993 | if (!ip6_dst_lookup(NULL, &buff->dst, &fl)) { |
994 | 994 | ||
995 | if ((xfrm_lookup(&buff->dst, &fl, NULL, 0)) < 0) | 995 | if (xfrm_lookup(&buff->dst, &fl, NULL, 0) >= 0) { |
996 | ip6_xmit(NULL, buff, &fl, NULL, 0); | ||
997 | TCP_INC_STATS_BH(TCP_MIB_OUTSEGS); | ||
998 | TCP_INC_STATS_BH(TCP_MIB_OUTRSTS); | ||
996 | return; | 999 | return; |
997 | 1000 | } | |
998 | ip6_xmit(NULL, buff, &fl, NULL, 0); | ||
999 | TCP_INC_STATS_BH(TCP_MIB_OUTSEGS); | ||
1000 | TCP_INC_STATS_BH(TCP_MIB_OUTRSTS); | ||
1001 | return; | ||
1002 | } | 1001 | } |
1003 | 1002 | ||
1004 | kfree_skb(buff); | 1003 | kfree_skb(buff); |
@@ -1057,11 +1056,11 @@ static void tcp_v6_send_ack(struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32 | |||
1057 | fl.fl_ip_sport = t1->source; | 1056 | fl.fl_ip_sport = t1->source; |
1058 | 1057 | ||
1059 | if (!ip6_dst_lookup(NULL, &buff->dst, &fl)) { | 1058 | if (!ip6_dst_lookup(NULL, &buff->dst, &fl)) { |
1060 | if ((xfrm_lookup(&buff->dst, &fl, NULL, 0)) < 0) | 1059 | if (xfrm_lookup(&buff->dst, &fl, NULL, 0) >= 0) { |
1060 | ip6_xmit(NULL, buff, &fl, NULL, 0); | ||
1061 | TCP_INC_STATS_BH(TCP_MIB_OUTSEGS); | ||
1061 | return; | 1062 | return; |
1062 | ip6_xmit(NULL, buff, &fl, NULL, 0); | 1063 | } |
1063 | TCP_INC_STATS_BH(TCP_MIB_OUTSEGS); | ||
1064 | return; | ||
1065 | } | 1064 | } |
1066 | 1065 | ||
1067 | kfree_skb(buff); | 1066 | kfree_skb(buff); |