|
@@ -59,12 +59,8 @@ static inline int is_in_rom(unsigned long addr)
|
|
#ifndef CONFIG_ACCESS_CHECK
|
|
#ifndef CONFIG_ACCESS_CHECK
|
|
static inline int _access_ok(unsigned long addr, unsigned long size) { return 1; }
|
|
static inline int _access_ok(unsigned long addr, unsigned long size) { return 1; }
|
|
#else
|
|
#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);
|
|
extern int _access_ok(unsigned long addr, unsigned long size);
|
|
#endif
|
|
#endif
|
|
-#endif
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
* The exception table consists of pairs of addresses: the first is the
|
|
* The exception table consists of pairs of addresses: the first is the
|