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.
Mike Frysinger
b7cffc1f29
asm-{alpha,h8300,um,v850,xtensa}/param.h: unbreak HZ for userspace
...
I noticed this because alpha was broken due to the recent commit commit
bdc807871d
("avoid overflows in
kernel/time.c"). Most arches do something like this in their
asm/param.h:
#ifdef __KERNEL__
# define HZ CONFIG_HZ
#else
# define HZ 100
#endif
A few arches though (namely alpha/h8300/um/v850/xtensa) either do no set
HZ at all for !__KERNEL__, or they set it wrongly. This should bring all
arches in line by setting up HZ for userspace.
Without this currently perl 5.10 doesn't build on alpha:
perl.c: In function 'perl_construct':
perl.c:388: error: 'CONFIG_HZ' undeclared (first use in this function)
-> http://buildd.debian.org/fetch.cgi?pkg=perl;ver=5.10.0-10;arch=alpha;stamp=1210252894
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: maximilian attems <max@stro.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
[ HZ on alpha is 1024 for historical reasons. - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 years ago
..
8253pit.h
…
Kbuild
…
a.out-core.h
aout: suppress A.OUT library support if !CONFIG_ARCH_SUPPORTS_AOUT
17 years ago
a.out.h
aout: move STACK_TOP[_MAX] to asm/processor.h
17 years ago
agp.h
x86: remove flush_agp_mappings()
17 years ago
agp_backend.h
…
atomic.h
alpha: atomic_add_return() should return int
17 years ago
auxvec.h
…
barrier.h
read_barrier_depends arch fixlets
17 years ago
bitops.h
generic: implement __fls on all 64-bit archs
17 years ago
bug.h
alpha: teach the compiler that BUG doesn't return
17 years ago
bugs.h
…
byteorder.h
alpha: replace __inline with inline
17 years ago
cache.h
…
cacheflush.h
…
checksum.h
…
compiler.h
…
console.h
…
core_apecs.h
…
core_cia.h
…
core_irongate.h
…
core_lca.h
…
core_marvel.h
…
core_mcpcia.h
…
core_polaris.h
…
core_t2.h
…
core_titan.h
…
core_tsunami.h
…
core_wildfire.h
…
cputime.h
…
current.h
alpha: get_current(): don't add zero to current_thread_info()->task
17 years ago
delay.h
…
device.h
…
div64.h
…
dma-mapping.h
alpha: fix ALSA DMA mmap crash
17 years ago
dma.h
…
elf.h
Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed
17 years ago
emergency-restart.h
…
err_common.h
…
err_ev6.h
…
err_ev7.h
…
errno.h
…
fb.h
…
fcntl.h
…
floppy.h
cleanup floppy.h
18 years ago
fpu.h
…
futex.h
…
gct.h
…
gentrap.h
…
hardirq.h
…
hw_irq.h
…
hwrpb.h
…
ide.h
ide: remove ide_init_default_irq() macro
17 years ago
io.h
Remove dma_cache_(wback|inv|wback_inv) functions
18 years ago
io_trivial.h
alpha: build fixes
17 years ago
ioctl.h
…
ioctls.h
…
ipcbuf.h
…
irq.h
…
irq_regs.h
…
jensen.h
…
kdebug.h
…
kmap_types.h
…
kvm.h
kvm: provide kvm.h for all architecture: fixes headers_install
17 years ago
linkage.h
…
local.h
…
machvec.h
…
mc146818rtc.h
…
md.h
…
mman.h
…
mmu.h
…
mmu_context.h
…
mmzone.h
…
module.h
…
msgbuf.h
…
mutex.h
…
namei.h
…
page.h
CONFIG_HIGHPTE vs. sub-page page tables.
17 years ago
pal.h
…
param.h
asm-{alpha,h8300,um,v850,xtensa}/param.h: unbreak HZ for userspace
17 years ago
parport.h
…
pci.h
alpha: fix ALSA DMA mmap crash
17 years ago
percpu.h
…
pgalloc.h
CONFIG_HIGHPTE vs. sub-page page tables.
17 years ago
pgtable.h
fix SMP data race in pagetable setup vs walking
17 years ago
poll.h
…
posix_types.h
…
processor.h
aout: move STACK_TOP[_MAX] to asm/processor.h
17 years ago
ptrace.h
…
reg.h
…
regdef.h
…
resource.h
…
rtc.h
…
rwsem.h
…
scatterlist.h
Add CONFIG_DEBUG_SG sg validation
18 years ago
sections.h
…
segment.h
…
semaphore.h
Generic semaphore implementation
17 years ago
sembuf.h
…
serial.h
…
setup.h
…
sfp-machine.h
…
shmbuf.h
…
shmparam.h
…
sigcontext.h
…
siginfo.h
…
signal.h
…
smp.h
…
socket.h
[NET]: Introducing socket mark socket option.
17 years ago
sockios.h
…
spinlock.h
…
spinlock_types.h
…
stat.h
…
statfs.h
…
string.h
…
suspend.h
…
sysinfo.h
…
system.h
Add cmpxchg64 and cmpxchg64_local to alpha
17 years ago
termbits.h
…
termios.h
…
thread_info.h
…
timex.h
…
tlb.h
add mm argument to pte/pmd/pud/pgd_free
17 years ago
tlbflush.h
alpha: fix warning by fixing flush_tlb_kernel_range()
17 years ago
topology.h
asm-generic: add node_to_cpumask_ptr macro
17 years ago
types.h
fix asm-alpha/types.h breakage
17 years ago
uaccess.h
…
ucontext.h
…
unaligned.h
kernel: Move arches to use common unaligned access
17 years ago
unistd.h
Alpha doesn't use socketcall
17 years ago
user.h
Sanitize the type of struct user.u_ar0
17 years ago
vga.h
…
xor.h
…