summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* Update arch/ to use sg helpersJens Axboe2007-10-2223-67/+55
| | | | Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
* [SG] Update drivers to use sg helpersJens Axboe2007-10-221-1/+1
| | | | Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
* Blackfin arch: update boards filesBryan Wu2007-10-211-1/+1
| | | | | Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: dma add some API and cleanup bf54x DMA definitionBryan Wu2007-10-222-0/+27
| | | | | Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: cleanup and promote the general purpose timers api to a core ↵Mike Frysinger2007-10-214-2/+274
| | | | | | | | blackfin component Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: add a cheesy install targetMike Frysinger2007-10-222-0/+60
| | | | | | Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: add functions for converting between sclks and usecsMike Frysinger2007-10-211-1/+13
| | | | | | Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: add assembly function for doing 64bit unsigned divisionMike Frysinger2007-10-212-1/+376
| | | | | | Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: -mno-fdpic worksMike Frysinger2007-10-211-0/+2
| | | | | | | | | | | | | now that -mno-fdpic works, force it on so that we can use any blackfin toolchain to build up the kernel and kernel modules wrap -mno-fdpic in $(call cc-option,-mno-fdpic) so that older toolchains will still work Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: use "char bfin_board_name[]" rather than "char ↵Mike Frysinger2007-10-2115-24/+24
| | | | | | | | *bfin_board_name" per discussion on lkml as the former uses less storage Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: Fixing Bug: balance calls to get_task_mm with corresponding ↵Bernd Schmidt2007-10-211-0/+2
| | | | | | | | | | mmput calls We must balance calls to get_task_mm with corresponding mmput calls, otherwise refcounting is screwed up and mms don't get freed when their task exits. Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: Fix up /proc/cpuinfo so it is like everyone elseRobin Getz2007-10-211-39/+61
| | | | | | | | | | | Fix up /proc/cpuinfo so it is like everyone else, and gets parsed by various applications properly. Still needs some tweaking on parts without full L1 sram, like 532, 531, so it doesn't print out L1 bank info that doesn't exist. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: Optimization - no need to make additional math hereMichael Hennerich2007-10-211-3/+3
| | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: force irq_flags into the .data sectionMike Frysinger2007-10-222-2/+14
| | | | | | | | | | | | force irq_flags into the .data section by initializing it to the hardware masks that cannot be disabled. this way if we use irq enable/disable functions before the .bss has been zeroed out (as does our l1 relocate/dma functions), we dont hit a problem where bss contains bogus crap. Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch BF548 defconfig: enable watchdog by defaultMike Frysinger2007-10-221-1/+8
| | | | | | Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: add new processor ADSP-BF52x arch/mach supportMichael Hennerich2007-10-2115-19/+3243
| | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Merge branch 'master' of ↵Linus Torvalds2007-10-2055-1629/+6329
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hera.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6 * 'master' of hera.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6: (29 commits) [PARISC] fix uninitialized variable warning in asm/rtc.h [PARISC] Port checkstack.pl to parisc [PARISC] Make palo target work when $obj != $src [PARISC] Zap unused variable warnings in pci.c [PARISC] Fix tests in palo target [PARISC] Fix palo target [PARISC] Restore palo target [PARISC] Attempt to clean up parisc/Makefile [PARISC] Fix infinite loop in /proc/iomem [PARISC] Quiet sysfs_create_link __must_check warnings in pdc_stable [PARISC] Squelch pci_enable_device __must_check warning in superio [PARISC] Kill off broken irqstack code [PARISC] Remove hardcoded uses of PAGE_SIZE [PARISC] Clean up pointless ASM_PAGE_SIZE_DIV use [PARISC] Kill off the last vestiges of ASM_PAGE_SIZE [PARISC] Kill off ASM_PAGE_SIZE use [PARISC] Beautify parisc vmlinux.lds.S [PARISC] Clean up a resource_size_t warning in sba_iommu [PARISC] Kill incorrect cast warning in unwinder [PARISC] Kill zone_to_nid printk warning ... Fixed trivial conflict in include/asm-parisc/tlbflush.h manually
| * [PARISC] Make palo target work when $obj != $srcKyle McMartin2007-10-201-5/+9
| | | | | | | | | | | | | | Stumbled upon when I was testing it out and using make O=... to build. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Zap unused variable warnings in pci.cKyle McMartin2007-10-191-5/+5
| | | | | | | | | | | | | | 'bus' was basically useless and 'hba' is only applicable on 64bit. Sigh, there's got to be a cleaner way to do this... Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Fix tests in palo targetKyle McMartin2007-10-191-2/+2
| | | | | | | | Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Fix palo targetKyle McMartin2007-10-181-1/+1
| | | | | | | | | | | | Hunk missing from previous commit, oops. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Restore palo targetKyle McMartin2007-10-181-0/+20
| | | | | | | | | | | | Turns out, people were still using it, and it accidently works. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Attempt to clean up parisc/MakefileKyle McMartin2007-10-181-38/+24
| | | | | | | | Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Fix infinite loop in /proc/iomemMatthew Wilcox2007-10-181-32/+0
| | | | | | | | | | | | | | | | | | | | | | pcibios_link_hba_resources() could corrupt the resource tree by inserting resources in the wrong place. Fix this by calling pci_claim_resource() for PCI-PCI bridges. Delete pcibios_link_hba_resources as we shouldn't need it any more. Also get rid of lba_claim_dev_resources() and just call pci_claim_resource() directly. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Kill off broken irqstack codeKyle McMartin2007-10-185-59/+3
| | | | | | | | | | | | | | It's been unfinished and broken long enough, and I have some ideas on how to do it more cleanly. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Remove hardcoded uses of PAGE_SIZEKyle McMartin2007-10-185-8/+8
| | | | | | | | Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Clean up pointless ASM_PAGE_SIZE_DIV useKyle McMartin2007-10-182-6/+4
| | | | | | | | Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Kill off the last vestiges of ASM_PAGE_SIZEKyle McMartin2007-10-181-1/+1
| | | | | | | | | | | | Sam's previous patch missed a few uses of ASM_PAGE_SIZE. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Kill off ASM_PAGE_SIZE useSam Ravnborg2007-10-183-13/+13
| | | | | | | | | | | | | | | | | | | | | | We have the macro _AC() generally available now so the calculation of PAGE_SIZE can be made assembler compatible. Introduce use of _AC() and kill all users of ASM_PAGE_SIZE. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Beautify parisc vmlinux.lds.SSam Ravnborg2007-10-181-134/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a consistent layout of vmlinux. The same layout has been introduced for most architectures. And the same time move a few label definitions inside the curly brackets so they are assigned the correct starting address. Before a ld inserted alignment would have casued the label to pint before the actual start of the section. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Kill incorrect cast warning in unwinderKyle McMartin2007-10-181-2/+2
| | | | | | | | Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Kill zone_to_nid printk warningKyle McMartin2007-10-181-1/+1
| | | | | | | | | | | | zone_to_nid returns int, always. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Unbreak processor_probe when we have more than NR_CPUSKyle McMartin2007-10-181-1/+6
| | | | | | | | | | | | | | | | If we already have NR_CPUS worth of cpus online, we obviously shouldn't be trying to bring up more... Fixes a particularly vexing issue I had when running another machines kernel on my rp3440. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Kill pointless variable use in time.cKyle McMartin2007-10-181-4/+2
| | | | | | | | | | | | | | Clean up a pointless use of a variable in update_cr16_clocksource. It just looks silly. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] import necessary bits of libgcc.aKyle McMartin2007-10-1831-24/+4628
| | | | | | | | | | | | | | | | | | Currently we're hacking libs-y to include libgcc.a, but this has unforeseen consequences since the userspace libgcc is linked with fpregs enabled. We need the kernel to stop using fpregs in an uncontrolled manner to implement lazy fpu state saves. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Use page allocator instead of slab allocator in pci-dma.cChristoph Lameter2007-10-181-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Slab pages obtained via kmalloc are not cacheline aligned. Nor is it advisable to perform VM operations designed for page allocator pages on memory obtained via kmalloc. So replace the page sized allocations in kernel/pci-dma.c with page allocator pages. Signed-off-by: Christoph Lameter <clameter@sgi.com> Cc: Hugh Dickins <hugh@veritas.com> Cc: Grant Grundler <grundler@parisc-linux.org> Cc: Matthew Wilcox <willy@debian.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] parisc: "extern inline" -> "static inline"Adrian Bunk2007-10-181-2/+2
| | | | | | | | | | | | | | | | | | | | "extern inline" will have different semantics with gcc 4.3, and "static inline" is correct here. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Matthew Wilcox <willy@debian.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Update defconfigsKyle McMartin2007-10-185-1324/+1439
| | | | | | | | Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
| * [PARISC] Wire up sys_fallocate (and compat_sys_fallocate)Kyle McMartin2007-10-182-0/+8
| | | | | | | | Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
* | kbuild: restore arch/{ppc/xtensa}/boot cflagsMilton Miller2007-10-202-1/+4
| | | | | | | | | | | | | | | | | | | | | | Commit 9a39e273d4df0560c724c5fe71f6314a0583ca2b removed the boot directory addition to CFLAGS that was being used by the subdirectory builds. For the other files, that patch set EXTRA_CFLAGS, but Makefile.build explicitly sets that to empty as it is explicitly for a single directory only. Append to KBUILD_CFLAGS instead. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* | Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivialLinus Torvalds2007-10-19171-291/+291
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: (74 commits) fix do_sys_open() prototype sysfs: trivial: fix sysfs_create_file kerneldoc spelling mistake Documentation: Fix typo in SubmitChecklist. Typo: depricated -> deprecated Add missing profile=kvm option to Documentation/kernel-parameters.txt fix typo about TBI in e1000 comment proc.txt: Add /proc/stat field small documentation fixes Fix compiler warning in smount example program from sharedsubtree.txt docs/sysfs: add missing word to sysfs attribute explanation documentation/ext3: grammar fixes Documentation/java.txt: typo and grammar fixes Documentation/filesystems/vfs.txt: typo fix include/asm-*/system.h: remove unused set_rmb(), set_wmb() macros trivial copy_data_pages() tidy up Fix typo in arch/x86/kernel/tsc_32.c file link fix for Pegasus USB net driver help remove unused return within void return function Typo fixes retrun -> return x86 hpet.h: remove broken links ...
| * | small documentation fixesPhilipp Marek2007-10-201-2/+2
| | | | | | | | | | | | Signed-off-by: Adrian Bunk <bunk@kernel.org>
| * | Fix typo in arch/x86/kernel/tsc_32.cJosh Triplett2007-10-201-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Josh Triplett <josh@kernel.org> Signed-off-by: Adrian Bunk <bunk@kernel.org>
| * | typo fixesMatt LaPlante2007-10-208-45/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of these fixes were already submitted for old kernel versions, and were approved, but for some reason they never made it into the releases. Because this is a consolidation of a couple old missed patches, it touches both Kconfigs and documentation texts. Signed-off-by: Matt LaPlante <kernel1@cyberdogtech.com> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Adrian Bunk <bunk@kernel.org>
| * | spelling fixes: arch/x86_64/Simon Arlott2007-10-209-13/+13
| | | | | | | | | | | | | | | | | | | | | Spelling fixes in arch/x86_64/. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Signed-off-by: Adrian Bunk <bunk@kernel.org>
| * | spelling fixes: arch/v850/Simon Arlott2007-10-202-4/+4
| | | | | | | | | | | | | | | | | | | | | Spelling fixes in arch/v850/. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Signed-off-by: Adrian Bunk <bunk@kernel.org>
| * | spelling fixes: arch/um/Simon Arlott2007-10-209-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | Spelling fixes in arch/um/. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Acked-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Adrian Bunk <bunk@kernel.org>
| * | spelling fixes: arch/m68k/Simon Arlott2007-10-208-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | Spelling fixes in arch/m68k/. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Adrian Bunk <bunk@kernel.org>
| * | spelling fixes: arch/m32r/Simon Arlott2007-10-205-15/+15
| | | | | | | | | | | | | | | | | | | | | Spelling fixes in arch/m32r/. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Signed-off-by: Adrian Bunk <bunk@kernel.org>
| * | spelling fixes: arch/i386/Simon Arlott2007-10-2037-57/+57
| | | | | | | | | | | | | | | | | | | | | Spelling fixes in arch/i386/. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Signed-off-by: Adrian Bunk <bunk@kernel.org>
OpenPOWER on IntegriCloud