Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228440
b: refs/heads/master
c: 2c1657c
h: refs/heads/master
v: v3
  • Loading branch information
Graf Yang authored and Mike Frysinger committed Jan 10, 2011
1 parent ff1dc31 commit 34eacb2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 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: 05c3457ec2d5d02aec58d246179df19d6b2de752
refs/heads/master: 2c1657c29f810d0ba32cde54cba1e916815493e5
3 changes: 0 additions & 3 deletions trunk/arch/blackfin/include/asm/irqflags.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
#ifdef CONFIG_SMP
# include <asm/pda.h>
# include <asm/processor.h>
/* Forward decl needed due to cdef inter dependencies */
static inline uint32_t __pure bfin_dspid(void);
# define blackfin_core_id() (bfin_dspid() & 0xff)
# define bfin_irq_flags cpu_pda[blackfin_core_id()].imask
#else
extern unsigned long bfin_irq_flags;
Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/blackfin/include/asm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define current_text_addr() ({ __label__ _l; _l: &&_l;})

#include <asm/ptrace.h>
#include <asm/blackfin.h>
#include <mach/blackfin.h>

static inline unsigned long rdusp(void)
{
Expand Down Expand Up @@ -134,6 +134,8 @@ static inline uint32_t __pure bfin_dspid(void)
return bfin_read_DSPID();
}

#define blackfin_core_id() (bfin_dspid() & 0xff)

static inline uint32_t __pure bfin_compiled_revid(void)
{
#if defined(CONFIG_BF_REV_0_0)
Expand Down

0 comments on commit 34eacb2

Please sign in to comment.