Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148586
b: refs/heads/master
c: a43b739
h: refs/heads/master
v: v3
  • Loading branch information
Mike Frysinger committed Jun 12, 2009
1 parent 94d5295 commit a5e775e
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: 8d0d8f2a3a57479b695a59ed2f67236f1488b90d
refs/heads/master: a43b739f257fd2569e11c6c93fbb86df382848e9
4 changes: 0 additions & 4 deletions trunk/arch/blackfin/include/asm/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,8 @@ static inline int is_in_rom(unsigned long addr)
#ifndef CONFIG_ACCESS_CHECK
static inline int _access_ok(unsigned long addr, unsigned long size) { return 1; }
#else
#ifdef CONFIG_ACCESS_OK_L1
extern int _access_ok(unsigned long addr, unsigned long size)__attribute__((l1_text));
#else
extern int _access_ok(unsigned long addr, unsigned long size);
#endif
#endif

/*
* The exception table consists of pairs of addresses: the first is the
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/blackfin/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ void finish_atomic_sections (struct pt_regs *regs)
}

#if defined(CONFIG_ACCESS_CHECK)
#ifdef CONFIG_ACCESS_OK_L1
__attribute__((l1_text))
#endif
/* Return 1 if access to memory range is OK, 0 otherwise */
int _access_ok(unsigned long addr, unsigned long size)
{
Expand Down

0 comments on commit a5e775e

Please sign in to comment.