Commit c2f1f73f authored by David Mosberger's avatar David Mosberger Committed by David Mosberger

ia64: Make v2.5.32 compile.

parent f557d482
...@@ -96,7 +96,8 @@ MAKEBOOT = $(MAKE) -C arch/$(ARCH)/boot ...@@ -96,7 +96,8 @@ MAKEBOOT = $(MAKE) -C arch/$(ARCH)/boot
vmlinux: arch/$(ARCH)/vmlinux.lds.s vmlinux: arch/$(ARCH)/vmlinux.lds.s
CPPFLAGS_arch/ia64/vmlinux.lds.s := -traditional arch/$(ARCH)/vmlinux.lds.s: arch/$(ARCH)/vmlinux.lds.S
$(CPP) $(CPPFLAGS) $(CPPFLAGS_$@) -D__ASSEMBLY__ -P -C -U$(ARCH) $< -o $@
compressed: vmlinux compressed: vmlinux
$(OBJCOPY) $(OBJCOPYFLAGS) vmlinux vmlinux-tmp $(OBJCOPY) $(OBJCOPYFLAGS) vmlinux vmlinux-tmp
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
OUTPUT_FORMAT("elf64-ia64-little") OUTPUT_FORMAT("elf64-ia64-little")
OUTPUT_ARCH(ia64) OUTPUT_ARCH(ia64)
ENTRY(phys_start) ENTRY(phys_start)
jiffies = jiffies_64; jiffies = jiffies_64;
SECTIONS SECTIONS
{ {
/* Sections to be discarded */ /* Sections to be discarded */
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
#define _ASM_IA64_FPU_H #define _ASM_IA64_FPU_H
/* /*
* Copyright (C) 1998, 1999 Hewlett-Packard Co * Copyright (C) 1998, 1999, 2002 Hewlett-Packard Co
* Copyright (C) 1998, 1999 David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>
*/ */
#include <asm/types.h> #include <asm/types.h>
......
...@@ -292,15 +292,15 @@ __outsl (unsigned long port, void *src, unsigned long count) ...@@ -292,15 +292,15 @@ __outsl (unsigned long port, void *src, unsigned long count)
#define inb(p) __inb(p) #define inb(p) __inb(p)
#define inw(p) __inw(p) #define inw(p) __inw(p)
#define inl(p) __inl(p) #define inl(p) __inl(p)
#define insb(p) __insb(p) #define insb(p,d,c) __insb(p,d,c)
#define insw(p) __insw(p) #define insw(p,d,c) __insw(p,d,c)
#define insl(p) __insl(p) #define insl(p,d,c) __insl(p,d,c)
#define outb(v,p) __outb(v,p) #define outb(v,p) __outb(v,p)
#define outw(v,p) __outw(v,p) #define outw(v,p) __outw(v,p)
#define outl(v,p) __outl(v,p) #define outl(v,p) __outl(v,p)
#define outsb(v,p) __outsb(v,p) #define outsb(p,s,c) __outsb(p,s,c)
#define outsw(v,p) __outsw(v,p) #define outsw(p,s,c) __outsw(p,s,c)
#define outsl(v,p) __outsl(v,p) #define outsl(p,s,c) __outsl(p,s,c)
#define mmiob() __mmiob() #define mmiob() __mmiob()
/* /*
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
* Copyright (C) 1999 Don Dugger <don.dugger@intel.com> * Copyright (C) 1999 Don Dugger <don.dugger@intel.com>
*/ */
#include <linux/config.h> #include <linux/config.h>
#include <linux/percpu.h>
#include <asm/kregs.h> #include <asm/kregs.h>
#include <asm/page.h> #include <asm/page.h>
...@@ -26,6 +25,7 @@ ...@@ -26,6 +25,7 @@
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#include <linux/percpu.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/types.h> #include <linux/types.h>
......
...@@ -2,14 +2,13 @@ ...@@ -2,14 +2,13 @@
#define _ASM_IA64_TYPES_H #define _ASM_IA64_TYPES_H
/* /*
* This file is never included by application software unless * This file is never included by application software unless explicitly requested (e.g.,
* explicitly requested (e.g., via linux/types.h) in which case the * via linux/types.h) in which case the application is Linux specific so (user-) name
* application is Linux specific so (user-) name space pollution is * space pollution is not a major issue. However, for interoperability, libraries still
* not a major issue. However, for interoperability, libraries still
* need to be careful to avoid a name clashes. * need to be careful to avoid a name clashes.
* *
* Copyright (C) 1998-2000 Hewlett-Packard Co * Copyright (C) 1998-2000, 2002 Hewlett-Packard Co
* Copyright (C) 1998-2000 David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>
*/ */
#ifdef __ASSEMBLY__ #ifdef __ASSEMBLY__
...@@ -18,9 +17,6 @@ ...@@ -18,9 +17,6 @@
#else #else
# define __IA64_UL(x) ((unsigned long)(x)) # define __IA64_UL(x) ((unsigned long)(x))
# define __IA64_UL_CONST(x) x##UL # define __IA64_UL_CONST(x) x##UL
#endif
#ifndef __ASSEMBLY__
typedef unsigned int umode_t; typedef unsigned int umode_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment