patch-2.3.43 linux/arch/ppc/coffboot/main.c
Next file: linux/arch/ppc/config.in
Previous file: linux/arch/ppc/coffboot/dummy.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Wed Feb 9 19:43:47 2000
- Orig file:
v2.3.42/linux/arch/ppc/coffboot/main.c
- Orig date:
Tue Dec 7 09:32:41 1999
diff -u --recursive --new-file v2.3.42/linux/arch/ppc/coffboot/main.c linux/arch/ppc/coffboot/main.c
@@ -112,8 +112,8 @@
#endif
{
struct bi_record *rec;
-
- rec = (struct bi_record *)PAGE_ALIGN((unsigned long)dst+len);
+
+ rec = (struct bi_record *)_ALIGN((unsigned long)dst+len+(1<<20)-1,(1<<20));
rec->tag = BI_FIRST;
rec->size = sizeof(struct bi_record);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)