Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/raidframe



Module Name:    src
Committed By:   mrg
Date:           Tue Feb  5 09:28:00 UTC 2019

Modified Files:
        src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
fix the previous:

rf_netbsd32 is only relevant on _LP64 as all the structures are
the same for arm32 oabi/eabi compat.

only do it for _LP64 *and* COMAPT_NETBSD32.

This doesn't really do the job...

Consider a kernel with raid(4) built-in, but _not_ built with COMPAT_NETBSD32. The raid code will not have any calls to the compat hooks. So even if you subsequently modload the compat_netbsd32 module there won't be any way to call the compat code.

The main raidframe driver code needs to be built _without_ depending on COMPAT_NETBSD32 being defined at all.


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index