Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75260
b: refs/heads/master
c: 76975f8
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and David S. Miller committed Jan 4, 2008
1 parent 618e213 commit f23aa8b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2022c1f136067f673964dcaffa1cae1008ddcd74
refs/heads/master: 76975f8a3186dae501584d0155ea410464f62815
10 changes: 3 additions & 7 deletions trunk/arch/ia64/sn/kernel/xp_nofault.S
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (c) 2004-2007 Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2004-2005 Silicon Graphics, Inc. All Rights Reserved.
*/


Expand All @@ -14,11 +14,6 @@
* PIO read fails, the MCA handler will force the error to look
* corrected and vector to the xp_error_PIOR which will return an error.
*
* The definition of "consumption" and the time it takes for an MCA
* to surface is processor implementation specific. This code
* is sufficient on Itanium through the Montvale processor family.
* It may need to be adjusted for future processor implementations.
*
* extern int xp_nofault_PIOR(void *remote_register);
*/

Expand All @@ -27,10 +22,11 @@ xp_nofault_PIOR:
mov r8=r0 // Stage a success return value
ld8.acq r9=[r32];; // PIO Read the specified register
adds r9=1,r9;; // Add to force consumption
srlz.i;; // Allow time for MCA to surface
or r9=r9,r9;; // Or to force consumption
br.ret.sptk.many b0;; // Return success

.global xp_error_PIOR
xp_error_PIOR:
mov r8=1 // Return value of 1
br.ret.sptk.many b0;; // Return failure

6 changes: 2 additions & 4 deletions trunk/include/asm-ia64/sn/xpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -1211,13 +1211,11 @@ xpc_IPI_init(int index)
static inline enum xpc_retval
xpc_map_bte_errors(bte_result_t error)
{
if (error == BTE_SUCCESS)
return xpcSuccess;

if (is_shub2()) {
if (BTE_VALID_SH2_ERROR(error))
return xpcBteSh2Start + error;
return xpcBteUnmappedError;
else
return xpcBteUnmappedError;
}
switch (error) {
case BTE_SUCCESS: return xpcSuccess;
Expand Down
5 changes: 3 additions & 2 deletions trunk/net/x25/x25_forward.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,14 @@ int x25_forward_data(int lci, struct x25_neigh *from, struct sk_buff *skb) {
goto out;

if ( (skbn = pskb_copy(skb, GFP_ATOMIC)) == NULL){
goto out;
goto output;

}
x25_transmit_link(skbn, nb);

x25_neigh_put(nb);
rc = 1;
output:
x25_neigh_put(nb);
out:
return rc;
}
Expand Down

0 comments on commit f23aa8b

Please sign in to comment.