Hackamatic: turn off target mode on Sparc64 with KLD_MODULE- this triggers

a compiler error I have no idea what its about.

This should unbreak tinderbox for now.
This commit is contained in:
Matt Jacob 2006-01-27 00:46:10 +00:00
parent f94cf2b10b
commit 09ae127f7d

View File

@ -74,6 +74,13 @@
#define ISP_SBUS_SUPPORTED 0
#endif
/*
* Hackery- remove TARGET MODE when compiling as a module on sparc64
*/
#if defined(__sparc64__) && defined(KLD_MODULE) && defined(ISP_TARGET_MODE)
#undef ISP_TARGET_MODE
#endif
#define HANDLE_LOOPSTATE_IN_OUTER_LAYERS 1
/* #define ISP_SMPLOCK 1 */