From 0596f6f56bc25179fc601b9fda6aa6503d2cdf98 Mon Sep 17 00:00:00 2001 From: cognet Date: Thu, 6 Oct 2005 11:26:37 +0000 Subject: [PATCH] Export PAGE_SIZE from genassym.c, and include assym.s in bcopy_page.S, instead of . --- sys/arm/arm/bcopy_page.S | 5 ++++- sys/arm/arm/genassym.c | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/arm/arm/bcopy_page.S b/sys/arm/arm/bcopy_page.S index 9e13c5dbdf28..0af7c112eee0 100644 --- a/sys/arm/arm/bcopy_page.S +++ b/sys/arm/arm/bcopy_page.S @@ -39,8 +39,11 @@ */ #include -#include + __FBSDID("$FreeBSD$"); + +#include "assym.s" + #ifndef __XSCALE__ /* #define BIG_LOOPS */ diff --git a/sys/arm/arm/genassym.c b/sys/arm/arm/genassym.c index d0e8cede63de..b179e7475ed4 100644 --- a/sys/arm/arm/genassym.c +++ b/sys/arm/arm/genassym.c @@ -102,6 +102,7 @@ ASSYM(P_PID, offsetof(struct proc, p_pid)); ASSYM(P_FLAG, offsetof(struct proc, p_flag)); ASSYM(ARM_TP_ADDRESS, ARM_TP_ADDRESS); +ASSYM(PAGE_SIZE, PAGE_SIZE); ASSYM(PDESIZE, PDESIZE); ASSYM(PMAP_DOMAIN_KERNEL, PMAP_DOMAIN_KERNEL); #ifdef PMAP_INCLUDE_PTE_SYNC