Mike Rapoport
65fddcfca8
mm: reorder includes after introduction of linux/pgtable.h
...
The replacement of <asm/pgrable.h> with <linux/pgtable.h> made the include
of the latter in the middle of asm includes. Fix this up with the aid of
the below script and manual adjustments here and there.
import sys
import re
if len(sys.argv) is not 3:
print "USAGE: %s <file> <header>" % (sys.argv[0])
sys.exit(1)
hdr_to_move="#include <linux/%s>" % sys.argv[2]
moved = False
in_hdrs = False
with open(sys.argv[1], "r") as f:
lines = f.readlines()
for _line in lines:
line = _line.rstrip('
')
if line == hdr_to_move:
continue
if line.startswith("#include <linux/"):
in_hdrs = True
elif not moved and in_hdrs:
moved = True
print hdr_to_move
print line
Signed-off-by: Mike Rapoport <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Cc: Arnd Bergmann <[email protected] >
Cc: Borislav Petkov <[email protected] >
Cc: Brian Cain <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Chris Zankel <[email protected] >
Cc: "David S. Miller" <[email protected] >
Cc: Geert Uytterhoeven <[email protected] >
Cc: Greentime Hu <[email protected] >
Cc: Greg Ungerer <[email protected] >
Cc: Guan Xuetao <[email protected] >
Cc: Guo Ren <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: Helge Deller <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Ley Foon Tan <[email protected] >
Cc: Mark Salter <[email protected] >
Cc: Matthew Wilcox <[email protected] >
Cc: Matt Turner <[email protected] >
Cc: Max Filippov <[email protected] >
Cc: Michael Ellerman <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Nick Hu <[email protected] >
Cc: Paul Walmsley <[email protected] >
Cc: Richard Weinberger <[email protected] >
Cc: Rich Felker <[email protected] >
Cc: Russell King <[email protected] >
Cc: Stafford Horne <[email protected] >
Cc: Thomas Bogendoerfer <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Tony Luck <[email protected] >
Cc: Vincent Chen <[email protected] >
Cc: Vineet Gupta <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected] >
2020-06-09 09:39:13 -07:00
Mike Rapoport
ca5999fde0
mm: introduce include/linux/pgtable.h
...
The include/linux/pgtable.h is going to be the home of generic page table
manipulation functions.
Start with moving asm-generic/pgtable.h to include/linux/pgtable.h and
make the latter include asm/pgtable.h.
Signed-off-by: Mike Rapoport <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Cc: Arnd Bergmann <[email protected] >
Cc: Borislav Petkov <[email protected] >
Cc: Brian Cain <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Chris Zankel <[email protected] >
Cc: "David S. Miller" <[email protected] >
Cc: Geert Uytterhoeven <[email protected] >
Cc: Greentime Hu <[email protected] >
Cc: Greg Ungerer <[email protected] >
Cc: Guan Xuetao <[email protected] >
Cc: Guo Ren <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: Helge Deller <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Ley Foon Tan <[email protected] >
Cc: Mark Salter <[email protected] >
Cc: Matthew Wilcox <[email protected] >
Cc: Matt Turner <[email protected] >
Cc: Max Filippov <[email protected] >
Cc: Michael Ellerman <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Nick Hu <[email protected] >
Cc: Paul Walmsley <[email protected] >
Cc: Richard Weinberger <[email protected] >
Cc: Rich Felker <[email protected] >
Cc: Russell King <[email protected] >
Cc: Stafford Horne <[email protected] >
Cc: Thomas Bogendoerfer <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Tony Luck <[email protected] >
Cc: Vincent Chen <[email protected] >
Cc: Vineet Gupta <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected] >
2020-06-09 09:39:13 -07:00
Thomas Bogendoerfer
b5d69129ea
mips/jazz: provide missing dma_mask/coherent_dma_mask
...
Commit 205e1b7f51 ("dma-mapping: warn when there is no
coherent_dma_mask") introduced a warning, if a device is missing a
coherent_dma_mask. ESP and sonic are using dma mapping functions, so
they need dma masks.
[[email protected] :
- Wrap commit message.]
Signed-off-by: Thomas Bogendoerfer <[email protected] >
Signed-off-by: Paul Burton <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/19828/
Cc: Ralf Baechle <[email protected] >
Cc: James Hogan <[email protected] >
Cc: [email protected]
Cc: [email protected]
2018-07-12 08:58:31 -07:00
Bjorn Helgaas
ead1505a9d
MIPS: Set I/O port resource types correctly
...
Set I/O port resource structs to have IORESOURCE_IO in their type field.
Previously we marked these as merely IORESOURCE_BUSY without indicating the
type. Setting the type doesn't fix any functional problem but makes %pR
on the resource work better.
Signed-off-by: Bjorn Helgaas <[email protected] >
2017-12-18 23:07:45 -06:00
Ralf Baechle
7034228792
MIPS: Whitespace cleanup.
...
Having received another series of whitespace patches I decided to do this
once and for all rather than dealing with this kind of patches trickling
in forever.
Signed-off-by: Ralf Baechle <[email protected] >
2013-02-01 10:00:22 +01:00
Ralf Baechle
3d18c98367
MIPS: Fix Jazz 64-bit build error.
...
Move add_wired_entry to its own header file from where it will be
always included. Patch up other users of add_wired_entry to also include
the header as needed.
Signed-off-by: Ralf Baechle <[email protected] >
2011-12-07 22:01:45 +00:00
Sebastian Andrzej Siewior
b20947aaa0
MIPS: Fixup screen_info struct initializations
...
|arch/mips/sibyte/swarm/setup.c:153:
| warning: large integer implicitly truncated to unsigned type
The field was changed in d9b26352 aka ("x86, setup: Store the boot
cursor state"). This patch changes the values back they way they were
before this extra field got introduced.
While here, the other two boards are also converted to C99 initializer.
Signed-off-by: Sebastian Andrzej Siewior <[email protected] >
Cc: [email protected]
Patchwork: http://patchwork.linux-mips.org/patch/1137/
Signed-off-by: Ralf Baechle <[email protected] >
2010-04-30 20:52:42 +01:00
Ralf Baechle
89ef3e85de
[MIPS] Jazz: Fix build error by header file inclusion weeding.
...
Signed-off-by: Ralf Baechle <[email protected] >
2008-08-26 09:10:20 +01:00
Adrian Bunk
0e25f71061
remove unneeded #include <linux/ide.h>'s
...
This patch remove unneeded #include <linux/ide.h>'s.
It also adds a required #include <linux/interrupt.h> that was previously
implicitely pulled by ide.h
Signed-off-by: Adrian Bunk <[email protected] >
[bart: revert change to tests/lkdtm.c (spotted by Stephen Rothwell)]
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected] >
2008-08-05 18:17:00 +02:00
Bartlomiej Zolnierkiewicz
b5b9309d34
remove unnecessary <linux/hdreg.h> includes
...
Following files don't need <linux/hdreg.h> at all:
- arch/mips/jazz/setup.c
- arch/sh/boards/mach-systemh/irq.c
- drivers/macintosh/mediabay.c
- drivers/scsi/hptiop.c
- drivers/usb/storage/freecom.c
- arch/powerpc/include/asm/ide.h
- init/main.c
Cc: Christoph Hellwig <[email protected] >
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected] >
2008-08-05 18:16:58 +02:00
Thomas Bogendoerfer
c660729501
[MIPS] Remove mips_machtype from ARC based machines
...
This is the ARC part of the mips_machtype removal.
Signed-off-by: Thomas Bogendoerfer <[email protected] >
Signed-off-by: Ralf Baechle <[email protected] >
2008-07-15 18:44:38 +01:00
Maciej W. Rozycki
c88a8b4ab0
[MIPS] Remove obsolete isa_slot_offset
...
The isa_slot_offset variable and its __ISA_IO_base macro is not used
anywhere anymore. It does not look like a decent interface per today's
standards either. Remove both including all places of initialization.
Signed-off-by: Maciej W. Rozycki <[email protected] >
Signed-off-by: Ralf Baechle <[email protected] >
2008-07-15 18:44:29 +01:00
Ralf Baechle
19388fb092
[MIPS] Cleanup pcspeaker platform device registration.
...
Move registration into the actual platform code instead of making a
desparate attempt at sharing the hand full of likes of code in pcspeaker.c.
Signed-off-by: Ralf Baechle <[email protected] >
2008-01-29 10:14:57 +00:00
Ralf Baechle
89742e5376
[MIPS] Jazz: Retire use of plat_timer_setup.
...
Signed-off-by: Ralf Baechle <[email protected] >
2007-10-18 18:11:47 +01:00
Ralf Baechle
49a89efbbb
[MIPS] Fix "no space between function name and open parenthesis" warnings.
...
Signed-off-by: Ralf Baechle <[email protected] >
2007-10-11 23:46:15 +01:00
Ralf Baechle
d865bea4da
[MIPS] i8253 PIT clocksource and clockevent drivers
...
Derived from the i386 variant with a few x86 complexities chopped off.
Signed-off-by: Ralf Baechle <[email protected] >
2007-10-11 23:46:10 +01:00
Ralf Baechle
584d98be3b
[MIPS] Jazz clockevent driver
...
Signed-off-by: Ralf Baechle <[email protected] >
2007-10-11 23:46:09 +01:00
Thomas Bogendoerfer
ea202c632a
[MIPS] JAZZ fixes
...
- restructured irq handling
- switched vdma to use memory allocated via get_free_pages
- setup platform devices for serial, jazz_esp and jazzsonic
- fixed cmos rtc access
Signed-off-by: Thomas Bogendoerfer <[email protected] >
Signed-off-by: Ralf Baechle <[email protected] >
2007-10-11 23:46:00 +01:00
Yoichi Yuasa
34ec6e76a6
[MIPS] Jazz: remove unneeded reset functions
...
Signed-off-by: Yoichi Yuasa <[email protected] >
Signed-off-by: Ralf Baechle <[email protected] >
2007-07-24 16:02:48 +01:00
Alexey Dobriyan
5da44ad504
mips-jazz: correct flags for timer io resource
...
arch/mips/jazz/setup.c:55:4: error: Initializer entry defined twice
Signed-off-by: Alexey Dobriyan <[email protected] >
Acked-by: Ralf Baechle <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2007-06-28 11:38:19 -07:00
Yoichi Yuasa
ea5742830a
[MIPS] Fix timer setup for Jazz
...
Signed-off-by: Yoichi Yuasa <[email protected] >
Signed-off-by: Ralf Baechle <[email protected] >
2006-10-11 19:30:58 +01:00
Ralf Baechle
27f768192f
[MIPS] Cleanup unnecessary <asm/ptrace.h> inclusions.
...
Signed-off-by: Ralf Baechle <[email protected] >
2006-10-09 00:15:28 +01:00
Ralf Baechle
06e80113c7
[MIPS] Jazz: build fix - include <linux/screen_info.h>
...
Signed-off-by: Ralf Baechle <[email protected] >
2006-10-09 00:15:27 +01:00
Ralf Baechle
3bdcdd681b
[MIPS] Jazz: Remove warning. After 7 years probably somebody test this ;)
...
Signed-off-by: Ralf Baechle <[email protected] >
2006-10-09 00:15:27 +01:00
Ralf Baechle
2cf69e765a
[MIPS] Jazz: Fix I/O port resources.
...
struct resource members were shuffeled a while ago.
Signed-off-by: Ralf Baechle <[email protected] >
2006-10-09 00:15:27 +01:00
Ralf Baechle
54d0a216f4
[MIPS] Replace board_timer_setup function pointer by plat_timer_setup.
...
Signed-off-by: Ralf Baechle <[email protected] >
---
2006-07-13 21:26:17 +01:00
Jörn Engel
6ab3d5624e
Remove obsolete #include <linux/config.h>
...
Signed-off-by: Jörn Engel <[email protected] >
Signed-off-by: Adrian Bunk <[email protected] >
2006-06-30 19:25:36 +02:00
Ralf Baechle
2925aba422
[MIPS] Cleanup memory managment initialization.
...
Historically plat_mem_setup did the entire platform initialization. This
was rather impractical because it meant plat_mem_setup had to get away
without any kind of memory allocator. To keep old code from breaking
plat_setup was just renamed to plat_setup and a second platform
initialization hook for anything else was introduced.
Signed-off-by: Ralf Baechle <[email protected] >
2006-06-19 17:39:23 +01:00
Ralf Baechle
fcdb27ad1d
[MIPS] Rename _machine_power_off to pm_power_off so the kernel builds again.
...
Signed-off-by: Ralf Baechle <[email protected] >
2006-02-07 13:30:22 +00:00
Ralf Baechle
c83cfc9c94
Get rid of early_init. There's more need to make this form of
...
initialization actually useful and as is certainly unmergable with
upstream.
Signed-off-by: Ralf Baechle <[email protected] >
2005-10-29 19:30:18 +01:00
Linus Torvalds
1da177e4c3
Linux-2.6.12-rc2
...
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
2005-04-16 15:20:36 -07:00