19 Feb, 2008
40 commits
-
I suggest to make the vdso_install step independent as
in following patch.This solves the issue at ahnd and still gives us the posibility
to install the files should they be needed.Signed-off-by: Sam Ravnborg
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
change back the IO delay to 0x80.
Alan says that 0xed is known to break some older boxes, and given that
the get-rid-of-outb-APIs efforts are well underway we should just let
them be finished.Signed-off-by: Ingo Molnar
Acked-by: Alan Cox
Signed-off-by: Thomas Gleixner -
Though we use PDA for regular task stack but that
is not acceptable for init_task wich is special
one. We still have to allocate init_task's stack
in that manner.Signed-off-by: Cyrill Gorcunov
Acked-by: Sam Ravnborg
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
It's much better to use PAGE_SIZE then magic 4096
(though it's almost synonym in most cases on x86 but
not for *all* cases ;)Signed-off-by: Cyrill Gorcunov
Acked-by: Sam Ravnborg
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
By including we're allowed to use
X86_CR4_PGE instead of numeric constant.md5 sums of compiled files are differ due to this inclusion
but .text section remains the same.Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
Clean up spelling and grammar of IO-APIC.txt
Signed-off-by: Nick Andrew
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
fix print_cpu_info, because it produced on boot:
CPU: AMD Athlon(tm) 64 Processor 3200+ stepping 00
instead of:
CPU: AMD Athlon(tm) 64 Processor 3200+ stepping 00
(broken since 04e1ba852132c9ad006affcd5b8c8606295170b0 -
x86: cleanup kernel/setup_64.c)Signed-off-by: Marcin Slusarz
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
no code changed:
arch/x86/lib/csum-wrappers_64.o:
text data bss dec hex filename
839 0 0 839 347 csum-wrappers_64.o.before
839 0 0 839 347 csum-wrappers_64.o.after
md5:
b31994226c33e0b52bef5a0e110b84b0 csum-wrappers_64.o.before.asm
b31994226c33e0b52bef5a0e110b84b0 csum-wrappers_64.o.after.asmSigned-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
no code changed:
arch/x86/lib/csum-wrappers_64.o:
text data bss dec hex filename
839 0 0 839 347 csum-wrappers_64.o.before
839 0 0 839 347 csum-wrappers_64.o.after
md5:
b31994226c33e0b52bef5a0e110b84b0 csum-wrappers_64.o.before.asm
b31994226c33e0b52bef5a0e110b84b0 csum-wrappers_64.o.after.asmSigned-off-by: Paolo Ciarrocchi
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
This simple patch makes the file error free (according to
checkpatch.pl)no code changed:
arch/x86/lib/io_64.o:
text data bss dec hex filename
308 0 0 308 134 io_64.o.before
308 0 0 308 134 io_64.o.after
md5:
3c64f9ed83d091678e849b36ca27bee3 io_64.o.before.asm
3c64f9ed83d091678e849b36ca27bee3 io_64.o.after.asmSigned-off-by: Paolo Ciarrocchi
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
In order to have it at all levels, add pgd_large() which only
returns 0.Signed-off-by: H. Peter Anvin
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
Signed-off-by: Mike Travis
Cc: Christoph Lameter
Cc: Jack Steiner
Cc: linux-mm@kvack.org
Cc: Andrew Morton
Cc: Andi Kleen
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
Signed-off-by: Sam Ravnborg
Cc: Sam Ravnborg
Cc: Andrew Morton
Cc: H. Peter Anvin
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
initial_code are initially used to hold a function pointer
from __init and later from __cpuinit. This confuses modpost
and changing initial_code to REFDATA silence the warning.
(But now we do not discard the variable anymore).Signed-off-by: Sam Ravnborg
Cc: Sam Ravnborg
Cc: Andrew Morton
Cc: H. Peter Anvin
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
reserve_hotadd() are only used by __init acpi_numa_memory_affinity_init().
Annotate reserve_hotadd() with __init is the trivial fix.Signed-off-by: Sam Ravnborg
Cc: Sam Ravnborg
Cc: Andrew Morton
Cc: H. Peter Anvin
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
arch_register_cpu() is only defined for HOTPLUG_CPU code
so simple fix is to ignore references by annotating the
function __ref.Signed-off-by: Sam Ravnborg
Cc: Sam Ravnborg
Cc: Andrew Morton
Cc: H. Peter Anvin
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
srat_detect_node() is only used by __cpuinit init_intel().
So the trivial fix is to annotate srat_detect_node() with __cpuinit.Signed-off-by: Sam Ravnborg
Cc: Sam Ravnborg
Cc: Andrew Morton
Cc: H. Peter Anvin
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
nearby_node() were only used by __cpuinit amd_detect_cmp()
So annotating nearby_node() __cpuinit was the trivial fix.Signed-off-by: Sam Ravnborg
Cc: Sam Ravnborg
Cc: Andrew Morton
Cc: H. Peter Anvin
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
arch/x86/kernel/nmi_64.c:50: warning: 'unknown_nmi_panic_callback' declared 'static' but never defined
This patch also fixes nmi_32.c
Signed-off-by: Li Zefan
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
New implementation does not use lru for anything so there is no need
to reject pages that are in the LRU. Similar for compound pages (which
were checked because they also use page->lru)[ tglx@linutronix.de: removed unused variable ]
Signed-off-by: Andi Kleen
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
Signed-off-by: Adrian Bunk
Cc: Ian Campbell
Cc: hpa@zytor.com
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
Signed-off-by: Adrian Bunk
Cc: hpa@zytor.com
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
Signed-off-by: Adrian Bunk
Cc: hpa@zytor.com
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
Signed-off-by: Adrian Bunk
Cc: Roland McGrath
Cc: hpa@zytor.com
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
Yes, it should.
Signed-off-by: Harvey Harrison
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
arch/x86/kernel/efi_32.c:42:6: warning: symbol 'efi_call_phys_prelog' was not declared. Should it be static?
arch/x86/kernel/efi_32.c:84:6: warning: symbol 'efi_call_phys_epilog' was not declared. Should it be static?Signed-off-by: Harvey Harrison
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
arch/x86/kernel/kprobes.c:584:16: warning: symbol 'kretprobe_trampoline_holder' was not declared. Should it be static?
arch/x86/kernel/kprobes.c:676:6: warning: symbol 'trampoline_handler' was not declared. Should it be static?Make them static and add the __used attribute, approach taken from the
arm kprobes implementation.kretprobe_trampoline_holder uses inline assemly to define the global
symbol kretprobe_trampoline, but nothing ever calls the holder explicitly.trampoline handler is only called from inline assembly in the same file,
mark it used and static.Signed-off-by: Harvey Harrison
Acked-by: Masami Hiramatsu
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
This patch removes the mca-pentium boot option that was a noop.
besides the source code cleanup factor, this saves some text as well:
arch/x86/kernel/cpu/bugs.o:
text data bss dec hex filename
651 77 4 732 2dc bugs.o.before
631 53 4 688 2b0 bugs.o.afterSigned-off-by: Adrian Bunk
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
* git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
ide-cd: fix missing residual count setting in DMA mode
ht6560b: force prefetch for some devices
ht6560b can only do up to PIO mode 4
linux/hdsmart.h: fix goofups (take 2)
via82cxxx: add new PCI id for cx700
falconide: locking bugfix
MAINTAINERS: update ide-cd maintainer's email address
ide/libata: ST310211A has buggy HPA too
ide: Add missing base addresses for falconide and macide -
Clearly this was supposed to be an == not an = in the if statement.
This patch also causes us to stop processing execve args once we have
failed rather than continuing to loop on failure over and over and over.Signed-off-by: Eric Paris
Acked-by: Al Viro
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
This patch fixes the missing residual count setting in DMA mode,
which was introduced during the conversion to blk-end-request.
The residual count could be used by the request submitter.
So if it isn't set correctly, some upper layers does not work.
(e.g. wodim for CD burning.)The bug is in only DMA mode.
In PIO mode, we are setting the residual count correctly,
so no need to fix.Signed-off-by: Kiyoshi Ueda
Signed-off-by: Jun'ichi Nomura
Reported-by: Andreas Schwab
Tested-by: Andreas Schwab
Tested-by: Laura Garcia
Tested-by: Borislav Petkov
Cc: Jens Axboe
Signed-off-by: Bartlomiej Zolnierkiewicz -
Prefetch needs to be set for some ide devices to work when connected to
a ht6560b interface. This was not always done properly, causing a system
with a HD and CD on the primary interface to not work properly. Or, in
effect, hang hard.This patch forces prefetch on devices before checking whether it
is necessary to change the settings in the interfaceThis patch should also be applied to 2.4. I don't currently have a
2.4 tree around.(also change my email address)
Signed-off-by: Jan Evert van Grootheest
Cc: Sergei Shtylyov
Cc: Alan Cox
Signed-off-by: Bartlomiej Zolnierkiewicz -
According to the datasheet, ht6560b only supports up to PIO mode 4.
[bart: manually ported it over 2.6.25-rc2]
Signed-off-by: Jan Evert van Grootheest
Signed-off-by: Bartlomiej Zolnierkiewicz -
Fix goofups of commit 76166952bbc81dda1c8a8c14e75a2aa06f6c052c
(" is not used by kernel code").Also update include/linux/Kbuild to reflect the fact that hdsmart.h
uses __KERNEL__ ifdefs now.Reported-by: "Robert P. J. Day"
Signed-off-by: Bartlomiej Zolnierkiewicz -
[bart: manually ported it over via82cxxx changes]
From: Andrew Smith
Signed-off-by: Bartlomiej Zolnierkiewicz -
commit 8ac4ce742c66100931b6f2d7a36b0df08bc721fe ("ide: fix host drivers
depending on ide_generic to probe for interfaces (take 2)") moved probing
to falconide but forgot to take care of Atari specific locking - fix it.Cc: Geert Uytterhoeven
Cc: Michael Schmitz
Signed-off-by: Bartlomiej Zolnierkiewicz -
Signed-off-by: Borislav Petkov
Signed-off-by: Bartlomiej Zolnierkiewicz -
Signed-off-by: Mikko Rapeli
Tested-by: Bart Champagne
Cc: Jeff Garzik
Signed-off-by: Bartlomiej Zolnierkiewicz -
commit 29dd59755a849cc6475faa6a75f3b804e23a6fc2 ("ide: remove ide_setup_ports")
forgot to take into account the base addresses for the CONTROL registers for
falconide and macide, as pointed out by Michael Schmitz.Falconide was tested on Aranym.
Signed-off-by: Geert Uytterhoeven
Cc: Michael Schmitz
Signed-off-by: Bartlomiej Zolnierkiewicz