Skip to content

Commit

Permalink
[PATCH] powerpc: trivial: modify comments to refer to new location of…
Browse files Browse the repository at this point in the history
… files

This patch removes all self references and fixes references to files
in the now defunct arch/ppc64 tree.  I think this accomplises
everything wanted, though there might be a few references I missed.

Signed-off-by: Jon Mason <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
  • Loading branch information
Jon Mason authored and paulusmack committed Feb 10, 2006
1 parent 75288c7 commit 2ef9481
Show file tree
Hide file tree
Showing 248 changed files with 20 additions and 498 deletions.
15 changes: 8 additions & 7 deletions Documentation/powerpc/eeh-pci-error-recovery.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ accomplished.

EEH must be enabled in the PHB's very early during the boot process,
and if a PCI slot is hot-plugged. The former is performed by
eeh_init() in arch/ppc64/kernel/eeh.c, and the later by
eeh_init() in arch/powerpc/platforms/pseries/eeh.c, and the later by
drivers/pci/hotplug/pSeries_pci.c calling in to the eeh.c code.
EEH must be enabled before a PCI scan of the device can proceed.
Current Power5 hardware will not work unless EEH is enabled;
Expand All @@ -133,7 +133,7 @@ error. Given an arbitrary address, the routine
pci_get_device_by_addr() will find the pci device associated
with that address (if any).

The default include/asm-ppc64/io.h macros readb(), inb(), insb(),
The default include/asm-powerpc/io.h macros readb(), inb(), insb(),
etc. include a check to see if the i/o read returned all-0xff's.
If so, these make a call to eeh_dn_check_failure(), which in turn
asks the firmware if the all-ff's value is the sign of a true EEH
Expand All @@ -143,11 +143,12 @@ seen in /proc/ppc64/eeh (subject to change). Normally, almost
all of these occur during boot, when the PCI bus is scanned, where
a large number of 0xff reads are part of the bus scan procedure.

If a frozen slot is detected, code in arch/ppc64/kernel/eeh.c will
print a stack trace to syslog (/var/log/messages). This stack trace
has proven to be very useful to device-driver authors for finding
out at what point the EEH error was detected, as the error itself
usually occurs slightly beforehand.
If a frozen slot is detected, code in
arch/powerpc/platforms/pseries/eeh.c will print a stack trace to
syslog (/var/log/messages). This stack trace has proven to be very
useful to device-driver authors for finding out at what point the EEH
error was detected, as the error itself usually occurs slightly
beforehand.

Next, it uses the Linux kernel notifier chain/work queue mechanism to
allow any interested parties to find out about the failure. Device
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/boot/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/sh
#
# arch/ppc64/boot/install.sh
#
# This file is subject to the terms and conditions of the GNU General Public
# License. See the file "COPYING" in the main directory of this archive
# for more details.
Expand Down
4 changes: 1 addition & 3 deletions arch/powerpc/kernel/entry_64.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc64/kernel/entry.S
*
* PowerPC version
* Copyright (C) 1995-1996 Gary Thomas ([email protected])
* Rewritten by Cort Dougan ([email protected]) for PReP
Expand Down Expand Up @@ -374,7 +372,7 @@ _GLOBAL(ret_from_fork)
* the fork code also.
*
* The code which creates the new task context is in 'copy_thread'
* in arch/ppc64/kernel/process.c
* in arch/powerpc/kernel/process.c
*/
.align 7
_GLOBAL(_switch)
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/head_44x.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/kernel/head_44x.S
*
* Kernel execution entry point code.
*
* Copyright (c) 1995-1996 Gary Thomas <[email protected]>
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/head_64.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc64/kernel/head.S
*
* PowerPC version
* Copyright (C) 1995-1996 Gary Thomas ([email protected])
*
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/head_8xx.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/kernel/except_8xx.S
*
* PowerPC version
* Copyright (C) 1995-1996 Gary Thomas ([email protected])
* Rewritten by Cort Dougan ([email protected]) for PReP
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/head_fsl_booke.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/kernel/head_fsl_booke.S
*
* Kernel execution entry point code.
*
* Copyright (c) 1995-1996 Gary Thomas <[email protected]>
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/iomap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc64/kernel/iomap.c
*
* ppc64 "iomap" interface implementation.
*
* (C) Copyright 2004 Linus Torvalds
Expand Down
1 change: 0 additions & 1 deletion arch/powerpc/kernel/iommu.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* arch/ppc64/kernel/iommu.c
* Copyright (C) 2001 Mike Corrigan & Dave Engebretsen, IBM Corporation
*
* Rewrite, cleanup, new allocation schemes, virtual merging:
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/irq.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/kernel/irq.c
*
* Derived from arch/i386/kernel/irq.c
* Copyright (C) 1992 Linus Torvalds
* Adapted from arch/i386 by Gary Thomas
Expand Down
1 change: 0 additions & 1 deletion arch/powerpc/kernel/kprobes.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*
* Kernel Probes (KProbes)
* arch/ppc64/kernel/kprobes.c
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down
1 change: 0 additions & 1 deletion arch/powerpc/kernel/pci_iommu.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* arch/ppc64/kernel/pci_iommu.c
* Copyright (C) 2001 Mike Corrigan & Dave Engebretsen, IBM Corporation
*
* Rewrite, cleanup, new allocation schemes:
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/process.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/kernel/process.c
*
* Derived from "arch/i386/kernel/process.c"
* Copyright (C) 1995 Linus Torvalds
*
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/ptrace-common.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* linux/arch/ppc64/kernel/ptrace-common.h
*
* Copyright (c) 2002 Stephen Rothwell, IBM Coproration
* Extracted from ptrace.c and ptrace32.c
*
Expand Down
1 change: 0 additions & 1 deletion arch/powerpc/kernel/rtas-proc.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* arch/ppc64/kernel/rtas-proc.c
* Copyright (C) 2000 Tilmann Bitterberg
* ([email protected])
*
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/rtas_pci.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc64/kernel/rtas_pci.c
*
* Copyright (C) 2001 Dave Engebretsen, IBM Corporation
* Copyright (C) 2003 Anton Blanchard <[email protected]>, IBM
*
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/signal_64.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* linux/arch/ppc64/kernel/signal.c
*
* PowerPC version
* Copyright (C) 1995-1996 Gary Thomas ([email protected])
*
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/vdso.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* linux/arch/ppc64/kernel/vdso.c
*
* Copyright (C) 2004 Benjamin Herrenschmidt, IBM Corp.
* <[email protected]>
*
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/lib/copypage_64.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc64/lib/copypage.S
*
* Copyright (C) 2002 Paul Mackerras, IBM Corp.
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/lib/copyuser_64.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc64/lib/copyuser.S
*
* Copyright (C) 2002 Paul Mackerras, IBM Corp.
*
* This program is free software; you can redistribute it and/or
Expand Down
4 changes: 1 addition & 3 deletions arch/powerpc/lib/e2a.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/*
* arch/ppc64/lib/e2a.c
*
* EBCDIC to ASCII conversion
*
* This function moved here from arch/ppc64/kernel/viopath.c
* This function moved here from arch/powerpc/platforms/iseries/viopath.c
*
* (C) Copyright 2000-2004 IBM Corporation
*
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/lib/memcpy_64.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc64/lib/memcpy.S
*
* Copyright (C) 2002 Paul Mackerras, IBM Corp.
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/lib/rheap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/syslib/rheap.c
*
* A Remote Heap. Remote means that we don't touch the memory that the
* heap points to. Normal heap implementations use the memory they manage
* to place their list. We cannot do that because the memory we manage may
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/mm/fault.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/mm/fault.c
*
* PowerPC version
* Copyright (C) 1995-1996 Gary Thomas ([email protected])
*
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/mm/hash_low_32.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/kernel/hashtable.S
*
* $Id: hashtable.S,v 1.6 1999/10/08 01:56:15 paulus Exp $
*
* PowerPC version
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/mm/mmap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* linux/arch/ppc64/mm/mmap.c
*
* flexible mmap layout support
*
* Copyright 2003-2004 Red Hat Inc., Durham, North Carolina.
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/mm/slb_low.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc64/mm/slb_low.S
*
* Low-level SLB routines
*
* Copyright (C) 2004 David Gibson <[email protected]>, IBM
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/mm/tlb_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
DEFINE_PER_CPU(struct ppc64_tlb_batch, ppc64_tlb_batch);

/* This is declared as we are using the more or less generic
* include/asm-ppc64/tlb.h file -- tgall
* include/asm-powerpc/tlb.h file -- tgall
*/
DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
DEFINE_PER_CPU(struct pte_freelist_batch *, pte_freelist_cur);
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/platforms/chrp/pegasos_eth.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/platforms/chrp_pegasos_eth.c
*
* Copyright (C) 2005 Sven Luther <[email protected]>
* Thanks to :
* Dale Farnsworth <[email protected]>
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/platforms/chrp/setup.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/platforms/setup.c
*
* Copyright (C) 1995 Linus Torvalds
* Adapted from 'alpha' version by Gary Thomas
* Modified by Cort Dougan ([email protected])
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/platforms/chrp/time.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/platforms/chrp_time.c
*
* Copyright (C) 1991, 1992, 1995 Linus Torvalds
*
* Adapted for PowerPC (PReP) by Gary Thomas
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/platforms/maple/time.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc64/kernel/maple_time.c
*
* (c) Copyright 2004 Benjamin Herrenschmidt ([email protected]),
* IBM Corp.
*
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/platforms/powermac/cpufreq_32.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/platforms/pmac_cpufreq.c
*
* Copyright (C) 2002 - 2005 Benjamin Herrenschmidt <[email protected]>
* Copyright (C) 2004 John Steele Scott <[email protected]>
*
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/platforms/powermac/feature.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/platforms/pmac_feature.c
*
* Copyright (C) 1996-2001 Paul Mackerras ([email protected])
* Ben. Herrenschmidt ([email protected])
*
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/platforms/powermac/nvram.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/platforms/pmac_nvram.c
*
* Copyright (C) 2002 Benjamin Herrenschmidt ([email protected])
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/platforms/pseries/hvCall.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc64/kernel/pSeries_hvCall.S
*
* This file contains the generic code to perform a call to the
* pSeries LPAR hypervisor.
* NOTE: this file will go away when we move to inline this work.
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/platforms/pseries/iommu.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc64/kernel/pSeries_iommu.c
*
* Copyright (C) 2001 Mike Corrigan & Dave Engebretsen, IBM Corporation
*
* Rewrite, cleanup:
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/platforms/pseries/pci.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc64/kernel/pSeries_pci.c
*
* Copyright (C) 2001 Dave Engebretsen, IBM Corporation
* Copyright (C) 2003 Anton Blanchard <[email protected]>, IBM
*
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/sysdev/dcr.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/syslib/dcr.S
*
* "Indirect" DCR access
*
* Copyright (c) 2004 Eugene Surovegin <[email protected]>
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/sysdev/ipic.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/kernel/ipic.h
*
* IPIC private definitions and structure.
*
* Maintainer: Kumar Gala <[email protected]>
Expand Down
2 changes: 0 additions & 2 deletions arch/ppc/4xx_io/serial_sicc.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/4xx_io/serial_sicc.c
*
* Driver for IBM STB3xxx SICC serial port
*
* Based on drivers/char/serial_amba.c, by ARM Ltd.
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/amiga/amiints.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* arch/ppc/amiga/amiints.c -- Amiga Linux interrupt handling code
* Amiga Linux interrupt handling code
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
Expand Down
2 changes: 0 additions & 2 deletions arch/ppc/amiga/bootinfo.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/amiga/bootinfo.c
*
* Extracted from arch/m68k/kernel/setup.c.
* Should be properly generalized and put somewhere else.
* Jesper
Expand Down
2 changes: 0 additions & 2 deletions arch/ppc/amiga/cia.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/amiga/cia.c - CIA support
*
* Copyright (C) 1996 Roman Zippel
*
* The concept of some functions bases on the original Amiga OS function
Expand Down
2 changes: 0 additions & 2 deletions arch/ppc/amiga/config.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#define m68k_debug_device debug_device

/*
* arch/ppc/amiga/config.c
*
* Copyright (C) 1993 Hamish Macdonald
*
* This file is subject to the terms and conditions of the GNU General Public
Expand Down
2 changes: 0 additions & 2 deletions arch/ppc/amiga/ints.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/amiga/ints.c
*
* Linux/m68k general interrupt handling code from arch/m68k/kernel/ints.c
* Needed to drive the m68k emulating IRQ hardware on the PowerUp boards.
*/
Expand Down
3 changes: 0 additions & 3 deletions arch/ppc/boot/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#
# arch/ppc/boot/Makefile
#
# This file is subject to the terms and conditions of the GNU General Public
# License. See the file "COPYING" in the main directory of this archive
# for more details.
Expand Down
3 changes: 0 additions & 3 deletions arch/ppc/boot/common/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#
# arch/ppc/boot/common/Makefile
#
# This file is subject to the terms and conditions of the GNU General Public
# License. See the file "COPYING" in the main directory of this archive
# for more details.
Expand Down
2 changes: 0 additions & 2 deletions arch/ppc/boot/common/bootinfo.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/common/bootinfo.c
*
* General bootinfo record utilities
* Author: Randy Vinson <[email protected]>
*
Expand Down
2 changes: 0 additions & 2 deletions arch/ppc/boot/common/misc-common.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/ppc/boot/common/misc-common.c
*
* Misc. bootloader code (almost) all platforms can use
*
* Author: Johnnie Peters <[email protected]>
Expand Down
Loading

0 comments on commit 2ef9481

Please sign in to comment.