Commit 9337a357 authored by David Mosberger's avatar David Mosberger

Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5

into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5
parents e67eee86 390611cb
This diff is collapsed.
...@@ -33,6 +33,5 @@ struct hw_interrupt_type irq_type_ia64_lsapic = { ...@@ -33,6 +33,5 @@ struct hw_interrupt_type irq_type_ia64_lsapic = {
.enable = lsapic_noop, .enable = lsapic_noop,
.disable = lsapic_noop, .disable = lsapic_noop,
.ack = lsapic_noop, .ack = lsapic_noop,
.end = lsapic_noop, .end = lsapic_noop
.set_affinity = (void (*)(unsigned int, unsigned long)) lsapic_noop
}; };
...@@ -467,10 +467,10 @@ smp_build_cpu_map (void) ...@@ -467,10 +467,10 @@ smp_build_cpu_map (void)
#ifdef CONFIG_NUMA #ifdef CONFIG_NUMA
/* on which node is each logical CPU (one cacheline even for 64 CPUs) */ /* on which node is each logical CPU (one cacheline even for 64 CPUs) */
volatile u8 cpu_to_node_map[NR_CPUS] __cacheline_aligned; u8 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
EXPORT_SYMBOL(cpu_to_node_map); EXPORT_SYMBOL(cpu_to_node_map);
/* which logical CPUs are on which nodes */ /* which logical CPUs are on which nodes */
volatile cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned; cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned;
/* /*
* Build cpu to node mapping and initialize the per node cpu masks. * Build cpu to node mapping and initialize the per node cpu masks.
...@@ -566,8 +566,8 @@ smp_cpus_done (unsigned int dummy) ...@@ -566,8 +566,8 @@ smp_cpus_done (unsigned int dummy)
if (cpu_online(cpu)) if (cpu_online(cpu))
bogosum += cpu_data(cpu)->loops_per_jiffy; bogosum += cpu_data(cpu)->loops_per_jiffy;
printk(KERN_INFO "Total of %lu processors activated (%lu.%02lu BogoMIPS).\n", printk(KERN_INFO "Total of %d processors activated (%lu.%02lu BogoMIPS).\n",
num_online_cpus(), bogosum/(500000/HZ), (bogosum/(5000/HZ))%100); (int)num_online_cpus(), bogosum/(500000/HZ), (bogosum/(5000/HZ))%100);
} }
int __devinit int __devinit
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <linux/profile.h> #include <linux/profile.h>
#include <linux/timex.h> #include <linux/timex.h>
#include <asm/machvec.h>
#include <asm/delay.h> #include <asm/delay.h>
#include <asm/hw_irq.h> #include <asm/hw_irq.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
...@@ -243,6 +244,8 @@ timer_interrupt (int irq, void *dev_id, struct pt_regs *regs) ...@@ -243,6 +244,8 @@ timer_interrupt (int irq, void *dev_id, struct pt_regs *regs)
{ {
unsigned long new_itm; unsigned long new_itm;
platform_timer_interrupt(irq, dev_id, regs);
new_itm = local_cpu_data->itm_next; new_itm = local_cpu_data->itm_next;
if (!time_after(ia64_get_itc(), new_itm)) if (!time_after(ia64_get_itc(), new_itm))
......
...@@ -10,4 +10,4 @@ ...@@ -10,4 +10,4 @@
# #
obj-y += cache.o io.o ptc_deadlock.o sn2_smp.o sn_proc_fs.o \ obj-y += cache.o io.o ptc_deadlock.o sn2_smp.o sn_proc_fs.o \
prominfo_proc.o timer.o prominfo_proc.o timer.o timer_interrupt.o
...@@ -50,7 +50,7 @@ wait_piowc(void) ...@@ -50,7 +50,7 @@ wait_piowc(void)
piows = pda->pio_write_status_addr; piows = pda->pio_write_status_addr;
do { do {
__asm__ __volatile__ ("mf.a" ::: "memory"); ia64_mfa();
} while (((ws = *piows) & SH_PIO_WRITE_STATUS_0_PENDING_WRITE_COUNT_MASK) != } while (((ws = *piows) & SH_PIO_WRITE_STATUS_0_PENDING_WRITE_COUNT_MASK) !=
SH_PIO_WRITE_STATUS_0_PENDING_WRITE_COUNT_MASK); SH_PIO_WRITE_STATUS_0_PENDING_WRITE_COUNT_MASK);
return ws; return ws;
...@@ -93,7 +93,8 @@ sn2_global_tlb_purge (unsigned long start, unsigned long end, unsigned long nbit ...@@ -93,7 +93,8 @@ sn2_global_tlb_purge (unsigned long start, unsigned long end, unsigned long nbit
if (is_headless_node(cnode)) if (is_headless_node(cnode))
continue; continue;
if (cnode == mycnode) { if (cnode == mycnode) {
asm volatile ("ptc.ga %0,%1;;srlz.i;;" :: "r"(start), "r"(nbits<<2) : "memory"); ia64_ptcga(start, nbits<<2);
ia64_srlz_i();
} else { } else {
nasid = cnodeid_to_nasid(cnode); nasid = cnodeid_to_nasid(cnode);
ptc0 = CHANGE_NASID(nasid, ptc0); ptc0 = CHANGE_NASID(nasid, ptc0);
......
/* /*
* Copyright (c) 2002 Silicon Graphics, Inc. All Rights Reserved. *
*
* Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License * under the terms of version 2 of the GNU General Public License
...@@ -30,56 +32,33 @@ ...@@ -30,56 +32,33 @@
* http://oss.sgi.com/projects/GenInfo/NoticeExplan * http://oss.sgi.com/projects/GenInfo/NoticeExplan
*/ */
#ifndef _ASM_IA64_MACHVEC_SN1_h #include <linux/interrupt.h>
#define _ASM_IA64_MACHVEC_SN1_h #include <asm/sn/pda.h>
#include <asm/sn/leds.h>
extern ia64_mv_setup_t sn1_setup; extern void sn_lb_int_war_check(void);
extern ia64_mv_cpu_init_t sn_cpu_init; extern irqreturn_t timer_interrupt (int irq, void *dev_id, struct pt_regs *regs);
extern ia64_mv_irq_init_t sn1_irq_init;
extern ia64_mv_send_ipi_t sn1_send_IPI;
extern ia64_mv_global_tlb_purge_t sn1_global_tlb_purge;
extern ia64_mv_inb_t sn1_inb;
extern ia64_mv_inw_t sn1_inw;
extern ia64_mv_inl_t sn1_inl;
extern ia64_mv_outb_t sn1_outb;
extern ia64_mv_outw_t sn1_outw;
extern ia64_mv_outl_t sn1_outl;
extern ia64_mv_dma_alloc_coherent sn1_dma_alloc_coherent;
extern ia64_mv_dma_free_coherent sn1_dma_free_coherent;
extern ia64_mv_dma_map_single sn1_dma_map_single;
extern ia64_mv_dma_unmap_single sn1_dma_unmap_single;
extern ia64_mv_dma_map_sg sn1_dma_map_sg;
extern ia64_mv_dma_unmap_sg sn1_dma_unmap_sg;
extern ia64_mv_dma_sync_single sn1_dma_sync_single;
extern ia64_mv_dma_sync_sg sn1_dma_sync_sg;
/* #define SN_LB_INT_WAR_INTERVAL 100
* This stuff has dual use!
* void
* For a generic kernel, the macros are used to initialize the sn_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
* platform's machvec structure. When compiling a non-generic kernel, {
* the macros are used directly. /* LED blinking */
*/ if (!pda->hb_count--) {
#define platform_name "sn1" pda->hb_count = HZ/2;
#define platform_setup sn1_setup set_led_bits(pda->hb_state ^= LED_CPU_HEARTBEAT, LED_CPU_HEARTBEAT);
#define platform_cpu_init sn_cpu_init printk("Blink\n");
#define platform_irq_init sn1_irq_init }
#define platform_send_ipi sn1_send_IPI
#define platform_global_tlb_purge sn1_global_tlb_purge
#define platform_inb sn1_inb
#define platform_inw sn1_inw
#define platform_inl sn1_inl
#define platform_outb sn1_outb
#define platform_outw sn1_outw
#define platform_outl sn1_outl
#define platform_dma_init machvec_noop
#define platform_dma_alloc_coherent sn1_dma_alloc_coherent
#define platform_dma_free_coherent sn1_dma_free_coherent
#define platform_dma_map_single sn1_dma_map_single
#define platform_dma_unmap_single sn1_dma_unmap_single
#define platform_dma_map_sg sn1_dma_map_sg
#define platform_dma_unmap_sg sn1_dma_unmap_sg
#define platform_dma_sync_single sn1_dma_sync_single
#define platform_dma_sync_sg sn1_dma_sync_sg
#endif /* _ASM_IA64_MACHVEC_SN1_h */ if (enable_shub_wars_1_1()) {
/* Bugfix code for SHUB 1.1 */
if (pda->pio_shub_war_cam_addr)
*pda->pio_shub_war_cam_addr = 0x8000000000000010UL;
}
if (pda->sn_lb_int_war_ticks == 0)
sn_lb_int_war_check();
pda->sn_lb_int_war_ticks++;
if (pda->sn_lb_int_war_ticks >= SN_LB_INT_WAR_INTERVAL)
pda->sn_lb_int_war_ticks = 0;
}
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
* probably would be better to clean up binfmt_elf.c so it does not * probably would be better to clean up binfmt_elf.c so it does not
* necessarily depend on there being a.out support. * necessarily depend on there being a.out support.
* *
* Copyright (C) 1998-2002 Hewlett-Packard Co * Modified 1998-2002
* David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co.
*/ */
#include <linux/types.h> #include <linux/types.h>
......
...@@ -4,8 +4,10 @@ ...@@ -4,8 +4,10 @@
* Needs: * Needs:
* void check_bugs(void); * void check_bugs(void);
* *
* Copyright (C) 1998, 1999, 2003 Hewlett-Packard Co * Based on <asm-alpha/bugs.h>.
* David Mosberger-Tang <davidm@hpl.hp.com> *
* Modified 1998, 1999, 2003
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co.
*/ */
#ifndef _ASM_IA64_BUGS_H #ifndef _ASM_IA64_BUGS_H
#define _ASM_IA64_BUGS_H #define _ASM_IA64_BUGS_H
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
#define _ASM_IA64_BYTEORDER_H #define _ASM_IA64_BYTEORDER_H
/* /*
* Copyright (C) 1998, 1999 Hewlett-Packard Co * Modified 1998, 1999
* Copyright (C) 1998, 1999 David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co.
*/ */
#include <asm/types.h> #include <asm/types.h>
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
#define _ASM_IA64_CHECKSUM_H #define _ASM_IA64_CHECKSUM_H
/* /*
* Copyright (C) 1998, 1999 Hewlett-Packard Co * Modified 1998, 1999
* Copyright (C) 1998, 1999 David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
/* /*
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
#define _ASM_IA64_CURRENT_H #define _ASM_IA64_CURRENT_H
/* /*
* Copyright (C) 1998-2000 Hewlett-Packard Co * Modified 1998-2000
* David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
#include <asm/intrinsics.h> #include <asm/intrinsics.h>
......
#ifndef _ASM_IA64_ERRNO_H
#define _ASM_IA64_ERRNO_H
/*
* This is derived from the Linux/x86 version.
*
* Copyright (C) 1998, 1999, 2002 Hewlett-Packard Co
* David Mosberger-Tang <davidm@hpl.hp.com>
*/
#include <asm-generic/errno.h> #include <asm-generic/errno.h>
#endif /* _ASM_IA64_ERRNO_H */
#ifndef _ASM_IA64_FCNTL_H #ifndef _ASM_IA64_FCNTL_H
#define _ASM_IA64_FCNTL_H #define _ASM_IA64_FCNTL_H
/* /*
* This is mostly compatible with Linux/x86. * Based on <asm-i386/fcntl.h>.
* *
* Copyright (C) 1998-2000 Hewlett-Packard Co * Modified 1998-2000
* Copyright (C) 1998-2000 David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co.
*/ */
/* /*
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
#define _ASM_IA64_IOCTL_H #define _ASM_IA64_IOCTL_H
/* /*
* This is mostly derived from the Linux/x86 version. * Based on <asm-i386/ioctl.h>.
* *
* Copyright (C) 1998, 1999 Hewlett-Packard Co * Modified 1998, 1999
* Copyright (C) 1998, 1999 David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
/* ioctl command encoding: 32 bits total, command in lower 16 bits, /* ioctl command encoding: 32 bits total, command in lower 16 bits,
......
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
#define _ASM_IA64_IOCTLS_H #define _ASM_IA64_IOCTLS_H
/* /*
* Copyright (C) 1998, 1999, 2002 Hewlett-Packard Co * Based on <asm-i386/ioctls.h>
* David Mosberger-Tang <davidm@hpl.hp.com> *
* Modified 1998, 1999, 2002
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
#include <asm/ioctl.h> #include <asm/ioctl.h>
......
...@@ -28,6 +28,7 @@ typedef void ia64_mv_mca_handler_t (void); ...@@ -28,6 +28,7 @@ typedef void ia64_mv_mca_handler_t (void);
typedef void ia64_mv_cmci_handler_t (int, void *, struct pt_regs *); typedef void ia64_mv_cmci_handler_t (int, void *, struct pt_regs *);
typedef void ia64_mv_log_print_t (void); typedef void ia64_mv_log_print_t (void);
typedef void ia64_mv_send_ipi_t (int, int, int, int); typedef void ia64_mv_send_ipi_t (int, int, int, int);
typedef void ia64_mv_timer_interrupt_t (int, void *, struct pt_regs *);
typedef void ia64_mv_global_tlb_purge_t (unsigned long, unsigned long, unsigned long); typedef void ia64_mv_global_tlb_purge_t (unsigned long, unsigned long, unsigned long);
typedef struct irq_desc *ia64_mv_irq_desc (unsigned int); typedef struct irq_desc *ia64_mv_irq_desc (unsigned int);
typedef u8 ia64_mv_irq_to_vector (u8); typedef u8 ia64_mv_irq_to_vector (u8);
...@@ -90,6 +91,7 @@ extern void machvec_memory_fence (void); ...@@ -90,6 +91,7 @@ extern void machvec_memory_fence (void);
# define platform_cmci_handler ia64_mv.cmci_handler # define platform_cmci_handler ia64_mv.cmci_handler
# define platform_log_print ia64_mv.log_print # define platform_log_print ia64_mv.log_print
# define platform_send_ipi ia64_mv.send_ipi # define platform_send_ipi ia64_mv.send_ipi
# define platform_timer_interrupt ia64_mv.timer_interrupt
# define platform_global_tlb_purge ia64_mv.global_tlb_purge # define platform_global_tlb_purge ia64_mv.global_tlb_purge
# define platform_dma_init ia64_mv.dma_init # define platform_dma_init ia64_mv.dma_init
# define platform_dma_alloc_coherent ia64_mv.dma_alloc_coherent # define platform_dma_alloc_coherent ia64_mv.dma_alloc_coherent
...@@ -131,6 +133,7 @@ struct ia64_machine_vector { ...@@ -131,6 +133,7 @@ struct ia64_machine_vector {
ia64_mv_cmci_handler_t *cmci_handler; ia64_mv_cmci_handler_t *cmci_handler;
ia64_mv_log_print_t *log_print; ia64_mv_log_print_t *log_print;
ia64_mv_send_ipi_t *send_ipi; ia64_mv_send_ipi_t *send_ipi;
ia64_mv_timer_interrupt_t *timer_interrupt;
ia64_mv_global_tlb_purge_t *global_tlb_purge; ia64_mv_global_tlb_purge_t *global_tlb_purge;
ia64_mv_dma_init *dma_init; ia64_mv_dma_init *dma_init;
ia64_mv_dma_alloc_coherent *dma_alloc_coherent; ia64_mv_dma_alloc_coherent *dma_alloc_coherent;
...@@ -168,6 +171,7 @@ struct ia64_machine_vector { ...@@ -168,6 +171,7 @@ struct ia64_machine_vector {
platform_cmci_handler, \ platform_cmci_handler, \
platform_log_print, \ platform_log_print, \
platform_send_ipi, \ platform_send_ipi, \
platform_timer_interrupt, \
platform_global_tlb_purge, \ platform_global_tlb_purge, \
platform_dma_init, \ platform_dma_init, \
platform_dma_alloc_coherent, \ platform_dma_alloc_coherent, \
...@@ -243,6 +247,9 @@ extern ia64_mv_dma_supported swiotlb_dma_supported; ...@@ -243,6 +247,9 @@ extern ia64_mv_dma_supported swiotlb_dma_supported;
#ifndef platform_send_ipi #ifndef platform_send_ipi
# define platform_send_ipi ia64_send_ipi /* default to architected version */ # define platform_send_ipi ia64_send_ipi /* default to architected version */
#endif #endif
#ifndef platform_timer_interrupt
# define platform_timer_interrupt ((ia64_mv_timer_interrupt_t *) machvec_noop)
#endif
#ifndef platform_global_tlb_purge #ifndef platform_global_tlb_purge
# define platform_global_tlb_purge ia64_global_tlb_purge /* default to architected version */ # define platform_global_tlb_purge ia64_global_tlb_purge /* default to architected version */
#endif #endif
......
...@@ -37,6 +37,7 @@ extern ia64_mv_setup_t sn_setup; ...@@ -37,6 +37,7 @@ extern ia64_mv_setup_t sn_setup;
extern ia64_mv_cpu_init_t sn_cpu_init; extern ia64_mv_cpu_init_t sn_cpu_init;
extern ia64_mv_irq_init_t sn_irq_init; extern ia64_mv_irq_init_t sn_irq_init;
extern ia64_mv_send_ipi_t sn2_send_IPI; extern ia64_mv_send_ipi_t sn2_send_IPI;
extern ia64_mv_timer_interrupt_t sn_timer_interrupt;
extern ia64_mv_global_tlb_purge_t sn2_global_tlb_purge; extern ia64_mv_global_tlb_purge_t sn2_global_tlb_purge;
extern ia64_mv_irq_desc sn_irq_desc; extern ia64_mv_irq_desc sn_irq_desc;
extern ia64_mv_irq_to_vector sn_irq_to_vector; extern ia64_mv_irq_to_vector sn_irq_to_vector;
...@@ -73,6 +74,7 @@ extern ia64_mv_dma_supported sn_dma_supported; ...@@ -73,6 +74,7 @@ extern ia64_mv_dma_supported sn_dma_supported;
#define platform_cpu_init sn_cpu_init #define platform_cpu_init sn_cpu_init
#define platform_irq_init sn_irq_init #define platform_irq_init sn_irq_init
#define platform_send_ipi sn2_send_IPI #define platform_send_ipi sn2_send_IPI
#define platform_timer_interrupt sn_timer_interrupt
#define platform_global_tlb_purge sn2_global_tlb_purge #define platform_global_tlb_purge sn2_global_tlb_purge
#define platform_pci_fixup sn_pci_fixup #define platform_pci_fixup sn_pci_fixup
#define platform_inb __sn_inb #define platform_inb __sn_inb
......
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
#define _ASM_IA64_MMAN_H #define _ASM_IA64_MMAN_H
/* /*
* Copyright (C) 1998-2000, 2002 Hewlett-Packard Co * Based on <asm-i386/mman.h>.
* David Mosberger-Tang <davidm@hpl.hp.com> *
* Modified 1998-2000, 2002
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
#define PROT_READ 0x1 /* page can be read */ #define PROT_READ 0x1 /* page can be read */
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
#define _ASM_IA64_NAMEI_H #define _ASM_IA64_NAMEI_H
/* /*
* Copyright (C) 1998, 1999, 2001 Hewlett-Packard Co * Modified 1998, 1999, 2001
* David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
#include <asm/ptrace.h> #include <asm/ptrace.h>
......
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
#include <asm/mmzone.h> #include <asm/mmzone.h>
extern volatile u8 cpu_to_node_map[NR_CPUS] __cacheline_aligned; extern u8 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
extern volatile cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned; extern cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned;
/* Stuff below this line could be architecture independent */ /* Stuff below this line could be architecture independent */
......
...@@ -4,8 +4,10 @@ ...@@ -4,8 +4,10 @@
/* /*
* Fundamental kernel parameters. * Fundamental kernel parameters.
* *
* Copyright (C) 1998, 1999, 2002-2003 Hewlett-Packard Co * Based on <asm-i386/param.h>.
* David Mosberger-Tang <davidm@hpl.hp.com> *
* Modified 1998, 1999, 2002-2003
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
#define EXEC_PAGESIZE 65536 #define EXEC_PAGESIZE 65536
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
#define _ASM_IA64_POLL_H #define _ASM_IA64_POLL_H
/* /*
* poll(2) bit definitions. Chosen to be compatible with Linux/x86. * poll(2) bit definitions. Based on <asm-i386/poll.h>.
* *
* Copyright (C) 1998, 1999, 2002 Hewlett-Packard Co * Modified 1998, 1999, 2002
* David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
#define POLLIN 0x0001 #define POLLIN 0x0001
......
...@@ -6,8 +6,10 @@ ...@@ -6,8 +6,10 @@
* be a little careful about namespace pollution etc. Also, we cannot * be a little careful about namespace pollution etc. Also, we cannot
* assume GCC is being used. * assume GCC is being used.
* *
* Copyright (C) 1998-2000, 2003 Hewlett-Packard Co * Based on <asm-alpha/posix_types.h>.
* David Mosberger-Tang <davidm@hpl.hp.com> *
* Modified 1998-2000, 2003
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
typedef unsigned long __kernel_ino_t; typedef unsigned long __kernel_ino_t;
......
...@@ -53,12 +53,6 @@ ...@@ -53,12 +53,6 @@
*/ */
#define TASK_UNMAPPED_BASE (current->thread.map_base) #define TASK_UNMAPPED_BASE (current->thread.map_base)
/*
* Bus types
*/
#define MCA_bus 0
#define MCA_bus__is_a_macro /* for versions in ksyms.c */
#define IA64_THREAD_FPH_VALID (__IA64_UL(1) << 0) /* floating-point high state valid? */ #define IA64_THREAD_FPH_VALID (__IA64_UL(1) << 0) /* floating-point high state valid? */
#define IA64_THREAD_DBG_VALID (__IA64_UL(1) << 1) /* debug registers valid? */ #define IA64_THREAD_DBG_VALID (__IA64_UL(1) << 1) /* debug registers valid? */
#define IA64_THREAD_PM_VALID (__IA64_UL(1) << 2) /* performance registers valid? */ #define IA64_THREAD_PM_VALID (__IA64_UL(1) << 2) /* performance registers valid? */
......
...@@ -4,8 +4,10 @@ ...@@ -4,8 +4,10 @@
/* /*
* Resource limits * Resource limits
* *
* Copyright (C) 1998, 1999 Hewlett-Packard Co * Based on <asm-i386/resource.h>.
* Copyright (C) 1998, 1999 David Mosberger-Tang <davidm@hpl.hp.com> *
* Modified 1998, 1999
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
#include <asm/ustack.h> #include <asm/ustack.h>
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
#define _ASM_IA64_SCATTERLIST_H #define _ASM_IA64_SCATTERLIST_H
/* /*
* Copyright (C) 1998-1999, 2001-2002 Hewlett-Packard Co * Modified 1998-1999, 2001-2002
* David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
struct scatterlist { struct scatterlist {
......
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
#define _ASM_IA64_SIGINFO_H #define _ASM_IA64_SIGINFO_H
/* /*
* Copyright (C) 1998-2002 Hewlett-Packard Co * Based on <asm-i386/siginfo.h>.
* David Mosberger-Tang <davidm@hpl.hp.com> *
* Modified 1998-2002
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
#define SI_PAD_SIZE ((SI_MAX_SIZE/sizeof(int)) - 4) #define SI_PAD_SIZE ((SI_MAX_SIZE/sizeof(int)) - 4)
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
#define _ASM_IA64_SIGNAL_H #define _ASM_IA64_SIGNAL_H
/* /*
* Copyright (C) 1998-2001, 2003 Hewlett-Packard Co * Modified 1998-2001, 2003
* David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
* *
* Unfortunately, this file is being included by bits/signal.h in * Unfortunately, this file is being included by bits/signal.h in
* glibc-2.x. Hence the #ifdef __KERNEL__ ugliness. * glibc-2.x. Hence the #ifdef __KERNEL__ ugliness.
......
...@@ -2,10 +2,12 @@ ...@@ -2,10 +2,12 @@
#define _ASM_IA64_SOCKET_H #define _ASM_IA64_SOCKET_H
/* /*
* Socket related defines. This mostly mirrors the Linux/x86 version. * Socket related defines.
* *
* Copyright (C) 1998-2000 Hewlett-Packard Co * Based on <asm-i386/socket.h>.
* Copyright (C) 1998-2000 David Mosberger-Tang <davidm@hpl.hp.com> *
* Modified 1998-2000
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
#include <asm/sockios.h> #include <asm/sockios.h>
......
...@@ -2,11 +2,12 @@ ...@@ -2,11 +2,12 @@
#define _ASM_IA64_SOCKIOS_H #define _ASM_IA64_SOCKIOS_H
/* /*
* Socket-level I/O control calls. This mostly mirrors the Linux/x86 * Socket-level I/O control calls.
* version.
* *
* Copyright (C) 1998, 1999 Hewlett-Packard Co * Based on <asm-i386/sockios.h>.
* Copyright (C) 1998, 1999 David Mosberger-Tang <davidm@hpl.hp.com> *
* Modified 1998, 1999
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
#define FIOSETOWN 0x8901 #define FIOSETOWN 0x8901
#define SIOCSPGRP 0x8902 #define SIOCSPGRP 0x8902
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
#define _ASM_IA64_STAT_H #define _ASM_IA64_STAT_H
/* /*
* Copyright (C) 1998, 1999 Hewlett-Packard Co * Modified 1998, 1999
* Copyright (C) 1998, 1999 David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
struct stat { struct stat {
......
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
#define _ASM_IA64_STATFS_H #define _ASM_IA64_STATFS_H
/* /*
* Copyright (C) 1998, 1999, 2003 Hewlett-Packard Co * Based on <asm-i386/statfs.h>.
* David Mosberger-Tang <davidm@hpl.hp.com> *
* Modified 1998, 1999, 2003
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
#ifndef __KERNEL_STRICT_NAMES #ifndef __KERNEL_STRICT_NAMES
......
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
#define _ASM_IA64_TERMBITS_H #define _ASM_IA64_TERMBITS_H
/* /*
* Copyright (C) 1999 Hewlett-Packard Co * Based on <asm-i386/termbits.h>.
* Copyright (C) 1999 David Mosberger-Tang <davidm@hpl.hp.com> *
* Modified 1999
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
* *
* 99/01/28 Added new baudrates * 99/01/28 Added new baudrates
*/ */
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
#define _ASM_IA64_TERMIOS_H #define _ASM_IA64_TERMIOS_H
/* /*
* Copyright (C) 1999 Hewlett-Packard Co * Modified 1999
* Copyright (C) 1999 David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
* *
* 99/01/28 Added N_IRDA and N_SMSBLOCK * 99/01/28 Added N_IRDA and N_SMSBLOCK
*/ */
......
#ifndef _ASM_IA64_TLB_H #ifndef _ASM_IA64_TLB_H
#define _ASM_IA64_TLB_H #define _ASM_IA64_TLB_H
/* /*
* Based on <asm-generic/tlb.h>.
*
* Copyright (C) 2002-2003 Hewlett-Packard Co * Copyright (C) 2002-2003 Hewlett-Packard Co
* David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>
*
* This file was derived from asm-generic/tlb.h.
*/ */
/* /*
* Removing a translation from a page table (including TLB-shootdown) is a four-step * Removing a translation from a page table (including TLB-shootdown) is a four-step
......
...@@ -7,8 +7,10 @@ ...@@ -7,8 +7,10 @@
* space pollution is not a major issue. However, for interoperability, libraries still * space pollution is 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, 2002 Hewlett-Packard Co * Based on <asm-alpha/types.h>.
* David Mosberger-Tang <davidm@hpl.hp.com> *
* Modified 1998-2000, 2002
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
#ifdef __ASSEMBLY__ #ifdef __ASSEMBLY__
......
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
* associated and, if so, sets r8 to -EFAULT and clears r9 to 0 and * associated and, if so, sets r8 to -EFAULT and clears r9 to 0 and
* then resumes execution at the continuation point. * then resumes execution at the continuation point.
* *
* Based on <asm-alpha/uaccess.h>.
*
* Copyright (C) 1998, 1999, 2001-2003 Hewlett-Packard Co * Copyright (C) 1998, 1999, 2001-2003 Hewlett-Packard Co
* David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>
*/ */
......
...@@ -4,8 +4,9 @@ ...@@ -4,8 +4,9 @@
#include <linux/types.h> #include <linux/types.h>
/* /*
* The main single-value unaligned transfer routines. Derived from * The main single-value unaligned transfer routines.
* the Linux/Alpha version. *
* Based on <asm-alpha/unaligned.h>.
* *
* Copyright (C) 1998, 1999, 2003 Hewlett-Packard Co * Copyright (C) 1998, 1999, 2003 Hewlett-Packard Co
* David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
* current->start_stack, so we round each of these in order to be able * current->start_stack, so we round each of these in order to be able
* to write an integer number of pages. * to write an integer number of pages.
* *
* Copyright (C) 1998, 1999, 2001 Hewlett-Packard Co * Modified 1998, 1999, 2001
* Copyright (C) 1998, 1999, 2001 David Mosberger-Tang <davidm@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
*/ */
#include <linux/ptrace.h> #include <linux/ptrace.h>
......
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