Changed unit macro to use section attribute directly.`

This commit is contained in:
Bahadir Balban
2008-02-09 14:33:37 +00:00
parent cc23568629
commit cd170c1b7c
2 changed files with 2 additions and 16 deletions

View File

@@ -13,7 +13,7 @@
#include INC_ARCH(bootdesc.h)
/* FIXME: Change the unit name */
UNIT("kip") struct kip kip;
__attribute__ ((section(".data.kip"))) struct kip kip;
/* Error-checked kernel data request call */
int __sys_kread(int rd, void *dest)