Fix build on FreeBSD/powerpc64.
Signed-off-by: Piotr Kubaj <pkubaj@anongoth.pl>
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
#define N r4
|
||||
#define K r5
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
#define A r6
|
||||
#define B r7
|
||||
@@ -192,7 +192,7 @@
|
||||
slwi LDC, LDC, BASE_SHIFT
|
||||
|
||||
#if defined(TRMMKERNEL)
|
||||
#if defined(linux) && defined(__64BIT__)
|
||||
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
|
||||
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
#endif
|
||||
|
||||
@@ -226,7 +226,7 @@
|
||||
li PREC, 4 * SIZE
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#if defined(linux) || defined(__FreeBSD__)
|
||||
#ifndef __64BIT__
|
||||
mr PREA, r10
|
||||
lwz PREB, FRAMESLOT(0) + STACKSIZE(SP)
|
||||
|
||||
Reference in New Issue
Block a user