drivers-$(CONFIG_IA64_HP_ZX1) += arch/ia64/hp/common/ arch/ia64/hp/zx1/
drivers-$(CONFIG_IA64_SGI_SN) += arch/ia64/sn/fakeprom/
- makeboot =$(Q)$(MAKE) -f scripts/Makefile.build obj=arch/ia64/boot $(1)
- maketool =$(Q)$(MAKE) -f scripts/Makefile.build obj=arch/ia64/tools $(1)
+ boot := arch/ia64/boot
+ tools := arch/ia64/tools
-.PHONY: boot compressed archclean archmrproper include/asm-ia64/offsets.h
+.PHONY: boot compressed include/asm-ia64/offsets.h
- all compressed: vmlinux.gz
+ all: vmlinux
+
+ compressed: vmlinux.gz
vmlinux.gz: vmlinux
- $(call makeboot,vmlinux.gz)
+ $(Q)$(MAKE) $(build)=$(boot) vmlinux.gz
+
+ check: vmlinux
+ arch/ia64/scripts/unwcheck.sh vmlinux
-archmrproper:
archclean:
- $(Q)$(MAKE) -f scripts/Makefile.clean obj=arch/ia64/boot
+ $(Q)$(MAKE) $(clean)=$(boot)
+ $(Q)$(MAKE) $(clean)=$(tools)
CLEAN_FILES += include/asm-ia64/offsets.h vmlinux.gz bootloader
#include <asm/tlb.h>
#include <asm/tlbflush.h>
- struct list_head htlbpage_freelist;
- spinlock_t htlbpage_lock = SPIN_LOCK_UNLOCKED;
- extern long htlbpagemem;
+ #include <linux/sysctl.h>
+
+ static long htlbpagemem;
+ int htlbpage_max;
+ static long htlbzone_pages;
- static void zap_hugetlb_resources (struct vm_area_struct *);
-struct vm_operations_struct hugetlb_vm_ops;
+ static LIST_HEAD(htlbpage_freelist);
+ static spinlock_t htlbpage_lock = SPIN_LOCK_UNLOCKED;
- static struct page *
- alloc_hugetlb_page (void)
+ static struct page *alloc_hugetlb_page(void)
{
- struct list_head *curr, *head;
+ int i;
struct page *page;
spin_lock(&htlbpage_lock);
return NULL;
}
- static struct vm_operations_struct hugetlb_vm_ops = {
+ struct vm_operations_struct hugetlb_vm_ops = {
- .nopage = hugetlb_nopage,
+ .nopage = hugetlb_nopage,
+ .close = zap_hugetlb_resources,
};