Lines 344-356
Link Here
|
344 |
/* This little bit of silliness is to get the GP loaded for a function |
344 |
/* This little bit of silliness is to get the GP loaded for a function |
345 |
that ordinarily wouldn't. Otherwise we could have it done by the macro |
345 |
that ordinarily wouldn't. Otherwise we could have it done by the macro |
346 |
directly, which can be optimized the linker. */ |
346 |
directly, which can be optimized the linker. */ |
347 |
#ifdef MODULE |
347 |
|
348 |
#define __module_address(sym) "r"(sym), |
348 |
#define __module_address(sym) "r"(sym), |
349 |
#define __module_call(ra, arg, sym) "jsr $" #ra ",(%" #arg ")," #sym |
349 |
#define __module_call(ra, arg, sym) "jsr $" #ra ",(%" #arg ")," #sym |
350 |
#else |
|
|
351 |
#define __module_address(sym) |
352 |
#define __module_call(ra, arg, sym) "bsr $" #ra "," #sym " !samegp" |
353 |
#endif |
354 |
|
350 |
|
355 |
extern void __copy_user(void); |
351 |
extern void __copy_user(void); |
356 |
|
352 |
|