mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Update the Linux LKM to use the new ps_strings and stack gap arrangements.
(note you should recompile the linux and ibcs2 lkms after this)
This commit is contained in:
parent
1ed012f969
commit
b3728b2483
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12680
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: linux_generic.c,v 1.1 1995/06/25 17:32:34 sos Exp $
|
||||
* $Id: linux_generic.c,v 1.2 1995/11/22 07:43:45 bde Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -43,7 +43,7 @@ caddr_t ua_alloc_init(int len)
|
||||
caddr_t ptr;
|
||||
|
||||
ptr = (caddr_t)ALIGN((PS_STRINGS));
|
||||
ptr += sizeof(struct ps_strings);
|
||||
ptr -= SPARE_USRSPACE;
|
||||
ua_ptr = (caddr_t)(ptr + ALIGN(len));
|
||||
return ptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user