Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46116
b: refs/heads/master
c: 418451c
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Feb 6, 2007
1 parent af5bee2 commit a9d1ed1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 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: 69a6c312e5ebb2e929ceb67e6246e2d9314f1d29
refs/heads/master: 418451c17870e56a176aeb4be1bed810f634fb5a
22 changes: 0 additions & 22 deletions trunk/arch/mips/kernel/smtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -676,28 +676,6 @@ static __inline__ int atomic_postincrement(unsigned int *pv)
return result;
}

/* No longer used in IPI dispatch, but retained for future recycling */

static __inline__ int atomic_postclear(unsigned int *pv)
{
unsigned long result;

unsigned long temp;

__asm__ __volatile__(
"1: ll %0, %2 \n"
" or %1, $0, $0 \n"
" sc %1, %2 \n"
" beqz %1, 1b \n"
" sync \n"
: "=&r" (result), "=&r" (temp), "=m" (*pv)
: "m" (*pv)
: "memory");

return result;
}


void smtc_send_ipi(int cpu, int type, unsigned int action)
{
int tcstatus;
Expand Down

0 comments on commit a9d1ed1

Please sign in to comment.