Skip to content

Commit 2ef9481

Browse files
Jon Masonpaulusmack
Jon Mason
authored andcommitted
[PATCH] powerpc: trivial: modify comments to refer to new location of 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]>
1 parent 75288c7 commit 2ef9481

File tree

248 files changed

+20
-498
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+20
-498
lines changed

Documentation/powerpc/eeh-pci-error-recovery.txt

+8-7
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ accomplished.
121121

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

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

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

152153
Next, it uses the Linux kernel notifier chain/work queue mechanism to
153154
allow any interested parties to find out about the failure. Device

arch/powerpc/boot/install.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/sh
22
#
3-
# arch/ppc64/boot/install.sh
4-
#
53
# This file is subject to the terms and conditions of the GNU General Public
64
# License. See the file "COPYING" in the main directory of this archive
75
# for more details.

arch/powerpc/kernel/entry_64.S

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc64/kernel/entry.S
3-
*
42
* PowerPC version
53
* Copyright (C) 1995-1996 Gary Thomas ([email protected])
64
* Rewritten by Cort Dougan ([email protected]) for PReP
@@ -374,7 +372,7 @@ _GLOBAL(ret_from_fork)
374372
* the fork code also.
375373
*
376374
* The code which creates the new task context is in 'copy_thread'
377-
* in arch/ppc64/kernel/process.c
375+
* in arch/powerpc/kernel/process.c
378376
*/
379377
.align 7
380378
_GLOBAL(_switch)

arch/powerpc/kernel/head_44x.S

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/kernel/head_44x.S
3-
*
42
* Kernel execution entry point code.
53
*
64
* Copyright (c) 1995-1996 Gary Thomas <[email protected]>

arch/powerpc/kernel/head_64.S

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc64/kernel/head.S
3-
*
42
* PowerPC version
53
* Copyright (C) 1995-1996 Gary Thomas ([email protected])
64
*

arch/powerpc/kernel/head_8xx.S

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/kernel/except_8xx.S
3-
*
42
* PowerPC version
53
* Copyright (C) 1995-1996 Gary Thomas ([email protected])
64
* Rewritten by Cort Dougan ([email protected]) for PReP

arch/powerpc/kernel/head_fsl_booke.S

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/kernel/head_fsl_booke.S
3-
*
42
* Kernel execution entry point code.
53
*
64
* Copyright (c) 1995-1996 Gary Thomas <[email protected]>

arch/powerpc/kernel/iomap.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc64/kernel/iomap.c
3-
*
42
* ppc64 "iomap" interface implementation.
53
*
64
* (C) Copyright 2004 Linus Torvalds

arch/powerpc/kernel/iommu.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
* arch/ppc64/kernel/iommu.c
32
* Copyright (C) 2001 Mike Corrigan & Dave Engebretsen, IBM Corporation
43
*
54
* Rewrite, cleanup, new allocation schemes, virtual merging:

arch/powerpc/kernel/irq.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/kernel/irq.c
3-
*
42
* Derived from arch/i386/kernel/irq.c
53
* Copyright (C) 1992 Linus Torvalds
64
* Adapted from arch/i386 by Gary Thomas

arch/powerpc/kernel/kprobes.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/*
22
* Kernel Probes (KProbes)
3-
* arch/ppc64/kernel/kprobes.c
43
*
54
* This program is free software; you can redistribute it and/or modify
65
* it under the terms of the GNU General Public License as published by

arch/powerpc/kernel/pci_iommu.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
* arch/ppc64/kernel/pci_iommu.c
32
* Copyright (C) 2001 Mike Corrigan & Dave Engebretsen, IBM Corporation
43
*
54
* Rewrite, cleanup, new allocation schemes:

arch/powerpc/kernel/process.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/kernel/process.c
3-
*
42
* Derived from "arch/i386/kernel/process.c"
53
* Copyright (C) 1995 Linus Torvalds
64
*

arch/powerpc/kernel/ptrace-common.h

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* linux/arch/ppc64/kernel/ptrace-common.h
3-
*
42
* Copyright (c) 2002 Stephen Rothwell, IBM Coproration
53
* Extracted from ptrace.c and ptrace32.c
64
*

arch/powerpc/kernel/rtas-proc.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
* arch/ppc64/kernel/rtas-proc.c
32
* Copyright (C) 2000 Tilmann Bitterberg
43
54
*

arch/powerpc/kernel/rtas_pci.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc64/kernel/rtas_pci.c
3-
*
42
* Copyright (C) 2001 Dave Engebretsen, IBM Corporation
53
* Copyright (C) 2003 Anton Blanchard <[email protected]>, IBM
64
*

arch/powerpc/kernel/signal_64.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* linux/arch/ppc64/kernel/signal.c
3-
*
42
* PowerPC version
53
* Copyright (C) 1995-1996 Gary Thomas ([email protected])
64
*

arch/powerpc/kernel/vdso.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* linux/arch/ppc64/kernel/vdso.c
3-
*
42
* Copyright (C) 2004 Benjamin Herrenschmidt, IBM Corp.
53
64
*

arch/powerpc/lib/copypage_64.S

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc64/lib/copypage.S
3-
*
42
* Copyright (C) 2002 Paul Mackerras, IBM Corp.
53
*
64
* This program is free software; you can redistribute it and/or

arch/powerpc/lib/copyuser_64.S

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc64/lib/copyuser.S
3-
*
42
* Copyright (C) 2002 Paul Mackerras, IBM Corp.
53
*
64
* This program is free software; you can redistribute it and/or

arch/powerpc/lib/e2a.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
2-
* arch/ppc64/lib/e2a.c
3-
*
42
* EBCDIC to ASCII conversion
53
*
6-
* This function moved here from arch/ppc64/kernel/viopath.c
4+
* This function moved here from arch/powerpc/platforms/iseries/viopath.c
75
*
86
* (C) Copyright 2000-2004 IBM Corporation
97
*

arch/powerpc/lib/memcpy_64.S

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc64/lib/memcpy.S
3-
*
42
* Copyright (C) 2002 Paul Mackerras, IBM Corp.
53
*
64
* This program is free software; you can redistribute it and/or

arch/powerpc/lib/rheap.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/syslib/rheap.c
3-
*
42
* A Remote Heap. Remote means that we don't touch the memory that the
53
* heap points to. Normal heap implementations use the memory they manage
64
* to place their list. We cannot do that because the memory we manage may

arch/powerpc/mm/fault.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/mm/fault.c
3-
*
42
* PowerPC version
53
* Copyright (C) 1995-1996 Gary Thomas ([email protected])
64
*

arch/powerpc/mm/hash_low_32.S

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/kernel/hashtable.S
3-
*
42
* $Id: hashtable.S,v 1.6 1999/10/08 01:56:15 paulus Exp $
53
*
64
* PowerPC version

arch/powerpc/mm/mmap.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* linux/arch/ppc64/mm/mmap.c
3-
*
42
* flexible mmap layout support
53
*
64
* Copyright 2003-2004 Red Hat Inc., Durham, North Carolina.

arch/powerpc/mm/slb_low.S

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc64/mm/slb_low.S
3-
*
42
* Low-level SLB routines
53
*
64
* Copyright (C) 2004 David Gibson <[email protected]>, IBM

arch/powerpc/mm/tlb_64.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
DEFINE_PER_CPU(struct ppc64_tlb_batch, ppc64_tlb_batch);
3737

3838
/* This is declared as we are using the more or less generic
39-
* include/asm-ppc64/tlb.h file -- tgall
39+
* include/asm-powerpc/tlb.h file -- tgall
4040
*/
4141
DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
4242
DEFINE_PER_CPU(struct pte_freelist_batch *, pte_freelist_cur);

arch/powerpc/platforms/chrp/pegasos_eth.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/platforms/chrp_pegasos_eth.c
3-
*
42
* Copyright (C) 2005 Sven Luther <[email protected]>
53
* Thanks to :
64
* Dale Farnsworth <[email protected]>

arch/powerpc/platforms/chrp/setup.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/platforms/setup.c
3-
*
42
* Copyright (C) 1995 Linus Torvalds
53
* Adapted from 'alpha' version by Gary Thomas
64
* Modified by Cort Dougan ([email protected])

arch/powerpc/platforms/chrp/time.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/platforms/chrp_time.c
3-
*
42
* Copyright (C) 1991, 1992, 1995 Linus Torvalds
53
*
64
* Adapted for PowerPC (PReP) by Gary Thomas

arch/powerpc/platforms/maple/time.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc64/kernel/maple_time.c
3-
*
42
* (c) Copyright 2004 Benjamin Herrenschmidt ([email protected]),
53
* IBM Corp.
64
*

arch/powerpc/platforms/powermac/cpufreq_32.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/platforms/pmac_cpufreq.c
3-
*
42
* Copyright (C) 2002 - 2005 Benjamin Herrenschmidt <[email protected]>
53
* Copyright (C) 2004 John Steele Scott <[email protected]>
64
*

arch/powerpc/platforms/powermac/feature.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/platforms/pmac_feature.c
3-
*
42
* Copyright (C) 1996-2001 Paul Mackerras ([email protected])
53
* Ben. Herrenschmidt ([email protected])
64
*

arch/powerpc/platforms/powermac/nvram.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/platforms/pmac_nvram.c
3-
*
42
* Copyright (C) 2002 Benjamin Herrenschmidt ([email protected])
53
*
64
* This program is free software; you can redistribute it and/or

arch/powerpc/platforms/pseries/hvCall.S

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc64/kernel/pSeries_hvCall.S
3-
*
42
* This file contains the generic code to perform a call to the
53
* pSeries LPAR hypervisor.
64
* NOTE: this file will go away when we move to inline this work.

arch/powerpc/platforms/pseries/iommu.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc64/kernel/pSeries_iommu.c
3-
*
42
* Copyright (C) 2001 Mike Corrigan & Dave Engebretsen, IBM Corporation
53
*
64
* Rewrite, cleanup:

arch/powerpc/platforms/pseries/pci.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc64/kernel/pSeries_pci.c
3-
*
42
* Copyright (C) 2001 Dave Engebretsen, IBM Corporation
53
* Copyright (C) 2003 Anton Blanchard <[email protected]>, IBM
64
*

arch/powerpc/sysdev/dcr.S

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/syslib/dcr.S
3-
*
42
* "Indirect" DCR access
53
*
64
* Copyright (c) 2004 Eugene Surovegin <[email protected]>

arch/powerpc/sysdev/ipic.h

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/kernel/ipic.h
3-
*
42
* IPIC private definitions and structure.
53
*
64
* Maintainer: Kumar Gala <[email protected]>

arch/ppc/4xx_io/serial_sicc.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/4xx_io/serial_sicc.c
3-
*
42
* Driver for IBM STB3xxx SICC serial port
53
*
64
* Based on drivers/char/serial_amba.c, by ARM Ltd.

arch/ppc/amiga/amiints.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* arch/ppc/amiga/amiints.c -- Amiga Linux interrupt handling code
2+
* Amiga Linux interrupt handling code
33
*
44
* This file is subject to the terms and conditions of the GNU General Public
55
* License. See the file COPYING in the main directory of this archive

arch/ppc/amiga/bootinfo.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/amiga/bootinfo.c
3-
*
42
* Extracted from arch/m68k/kernel/setup.c.
53
* Should be properly generalized and put somewhere else.
64
* Jesper

arch/ppc/amiga/cia.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/amiga/cia.c - CIA support
3-
*
42
* Copyright (C) 1996 Roman Zippel
53
*
64
* The concept of some functions bases on the original Amiga OS function

arch/ppc/amiga/config.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#define m68k_debug_device debug_device
22

33
/*
4-
* arch/ppc/amiga/config.c
5-
*
64
* Copyright (C) 1993 Hamish Macdonald
75
*
86
* This file is subject to the terms and conditions of the GNU General Public

arch/ppc/amiga/ints.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/amiga/ints.c
3-
*
42
* Linux/m68k general interrupt handling code from arch/m68k/kernel/ints.c
53
* Needed to drive the m68k emulating IRQ hardware on the PowerUp boards.
64
*/

arch/ppc/boot/Makefile

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#
2-
# arch/ppc/boot/Makefile
3-
#
41
# This file is subject to the terms and conditions of the GNU General Public
52
# License. See the file "COPYING" in the main directory of this archive
63
# for more details.

arch/ppc/boot/common/Makefile

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#
2-
# arch/ppc/boot/common/Makefile
3-
#
41
# This file is subject to the terms and conditions of the GNU General Public
52
# License. See the file "COPYING" in the main directory of this archive
63
# for more details.

arch/ppc/boot/common/bootinfo.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/common/bootinfo.c
3-
*
42
* General bootinfo record utilities
53
* Author: Randy Vinson <[email protected]>
64
*

arch/ppc/boot/common/misc-common.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/ppc/boot/common/misc-common.c
3-
*
42
* Misc. bootloader code (almost) all platforms can use
53
*
64
* Author: Johnnie Peters <[email protected]>

0 commit comments

Comments
 (0)