You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tejun Heo
3ac6cffea4
linker script: use separate simpler definition for PERCPU()
...
Impact: fix linker screwup on x86_32
Recent x86_64 zerobased patches introduced PERCPU_VADDR() to put
.data.percpu to a predefined address and re-defined PERCPU() in terms
of it. The new macro defined one extra symbol, __per_cpu_load, for
LMA of the section so that the init data could be accessed. This new
symbol introduced the following problems to x86_32.
1. If __per_cpu_load is defined outside of .data.percpu as an absolute
symbol, relocation generation for relocatable kernel fails due to
absolute relocation.
2. If __per_cpu_load is put inside .data.percpu with absolute address
assignment to work around #1 , linker gets confused and under
certain configurations ends up relocating the symbol against
.data.percpu such that the load address gets added on top of
already set load address.
As x86_32 doesn't use predefined address for .data.percpu, there's no
need for it to care about the possibility of __per_cpu_load being
different from __per_cpu_start.
This patch defines PERCPU() separately so that __per_cpu_load is
defined inside .data.percpu so that everything is ordinary
linking-wise.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
16 years ago
..
bitops
x86, generic: mark complex bitops.h inlines as __always_inline
16 years ago
4level-fixup.h
add mm argument to pte/pmd/pud/pgd_free
17 years ago
Kbuild
types: create <asm-generic/int-*.h>
17 years ago
Kbuild.asm
byteorder: make swab.h include asm/swab.h like a regular header
16 years ago
atomic.h
atomic: fix a typo in atomic_long_xchg()
16 years ago
audit_change_attr.h
…
audit_dir_write.h
…
audit_read.h
…
audit_signal.h
…
audit_write.h
[PATCH] asm/generic: fix bug - kernel fails to build when enable some common audit code on Blackfin
16 years ago
bitops.h
remove __KERNEL__ tests of unexported headers under asm-generic/
17 years ago
bug.h
documentation: when to BUG(), and when to not BUG()
16 years ago
cmpxchg-local.h
Add cmpxchg_local to asm-generic for per cpu atomic operations
17 years ago
cmpxchg.h
Add cmpxchg_local to asm-generic for per cpu atomic operations
17 years ago
cputime.h
taskstats scaled time cleanup
17 years ago
device.h
…
div64.h
rename div64_64 to div64_u64
17 years ago
dma-coherent.h
generic: per-device coherent dma allocator
17 years ago
dma-mapping-broken.h
dma-mapping: add the device argument to dma_mapping_error()
17 years ago
dma-mapping.h
dma-mapping: add the device argument to dma_mapping_error()
17 years ago
emergency-restart.h
…
errno-base.h
…
errno.h
…
fcntl.h
Introduce O_CLOEXEC
18 years ago
futex.h
remove __KERNEL__ tests of unexported headers under asm-generic/
17 years ago
gpio.h
gpiolib: request/free hooks
17 years ago
ide_iops.h
…
int-l64.h
types: add C99-style constructors to <asm-generic/int-*.h>
17 years ago
int-ll64.h
asm-generic/int-ll64.h: always provide __{s,u}64
17 years ago
ioctl.h
Make ioctl.h compatible with userland
17 years ago
iomap.h
generic: add ioremap_wc() interface wrapper
17 years ago
irq_regs.h
…
kdebug.h
asm-generic: define DIE_OOPS in asm-generic
17 years ago
libata-portmap.h
libata-portmap: Remove unused definitions
18 years ago
local.h
remove linux/hardirq.h from asm-generic/local.h
16 years ago
memory_model.h
mm: remove CONFIG_OUT_OF_LINE_PFN_TO_PAGE
16 years ago
mm_hooks.h
…
mman.h
…
mutex-dec.h
mutex: speed up generic mutex implementations
17 years ago
mutex-null.h
…
mutex-xchg.h
mutex: speed up generic mutex implementations
17 years ago
page.h
remove __KERNEL__ tests of unexported headers under asm-generic/
17 years ago
pci-dma-compat.h
dma-mapping: add the device argument to dma_mapping_error()
17 years ago
pci.h
…
percpu.h
percpu: add optimized generic percpu accessors
16 years ago
pgtable-nopmd.h
include/asm-generic/pgtable-nopmd.h: macros are noxious, reason #435
17 years ago
pgtable-nopud.h
add mm argument to pte/pmd/pud/pgd_free
17 years ago
pgtable.h
x86 PAT: change track_pfn_vma_new to take pgprot_t pointer param
16 years ago
poll.h
…
resource.h
sched: SCHED_FIFO/SCHED_RR watchdog timer
17 years ago
rtc.h
alpha: fix RTC on marvel
16 years ago
sections.h
x86: make percpu symbols zerobased on SMP
16 years ago
siginfo.h
signals: demultiplexing SIGTRAP signal
17 years ago
signal.h
…
statfs.h
Make <asm-generic/statfs.h> suitable for 64-bit platforms.
17 years ago
syscall.h
tracehook: comment pasto fixes
17 years ago
termios.h
tty: let architectures override the user/kernel macros.
17 years ago
tlb.h
asm-generic/tlb.h: remove <linux/quicklist.h>
17 years ago
topology.h
cpumask: Introduce cpumask_of_{node,pcibus} to replace {node,pcibus}_to_cpumask
16 years ago
uaccess.h
…
vmlinux.lds.h
linker script: use separate simpler definition for PERCPU()
16 years ago
xor.h
…