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
..
platform-iss
…
variant-fsf
[XTENSA] Add support for configurable registers and coprocessors
17 years ago
Kbuild
…
a.out.h
aout: move STACK_TOP[_MAX] to asm/processor.h
17 years ago
asmmacro.h
…
atomic.h
…
auxvec.h
…
bitops.h
forbid asm/bitops.h direct inclusion
18 years ago
bootparam.h
…
bug.h
…
bugs.h
…
byteorder.h
…
cache.h
[XTENSA] Add support for cache-aliasing
18 years ago
cacheasm.h
…
cacheflush.h
[XTENSA] Fix cache flush macro for D$/I$ aliasing/non-aliasing
17 years ago
checksum.h
…
coprocessor.h
[XTENSA] Exclude thread-global registers from the xtregs structures.
17 years ago
cpumask.h
…
cputime.h
…
current.h
…
delay.h
…
device.h
…
div64.h
…
dma-mapping.h
xtensa: dma-mapping.h is using linux/scatterlist.h functions, so include it
18 years ago
dma.h
…
elf.h
[XTENSA] Allow debugger to modify the WINDOWBASE register.
17 years ago
emergency-restart.h
…
errno.h
…
fb.h
…
fcntl.h
…
futex.h
…
hardirq.h
…
highmem.h
…
hw_irq.h
…
ide.h
…
io.h
[XTENSA] Add support for cache-aliasing
18 years ago
ioctl.h
…
ioctls.h
[patch 1/2] Xtensa: enable arbitary tty speed setting ioctls
18 years ago
ipcbuf.h
…
irq.h
…
irq_regs.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
…
mman.h
…
mmu.h
…
mmu_context.h
…
module.h
[XTENSA] Fix modules for non-exec processor configurations
17 years ago
msgbuf.h
…
mutex.h
…
namei.h
…
page.h
CONFIG_HIGHPTE vs. sub-page page tables.
17 years ago
param.h
asm-{alpha,h8300,um,v850,xtensa}/param.h: unbreak HZ for userspace
17 years ago
pci-bridge.h
…
pci.h
…
percpu.h
…
pgalloc.h
[XTENSA] Fix non-existent pte_token_t typedef to pgtable_t
17 years ago
pgtable.h
mm: introduce pte_special pte bit
17 years ago
platform.h
…
poll.h
…
posix_types.h
asm-*/posix_types.h: scrub __GLIBC__
17 years ago
processor.h
[XTENSA] Add support for configurable registers and coprocessors
17 years ago
ptrace.h
[XTENSA] Add support for configurable registers and coprocessors
17 years ago
regs.h
[XTENSA] Add support for configurable registers and coprocessors
17 years ago
resource.h
…
rmap.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
…
shmbuf.h
…
shmparam.h
…
sigcontext.h
[XTENSA] Add support for configurable registers and coprocessors
17 years ago
siginfo.h
…
signal.h
…
smp.h
…
socket.h
[NET]: Introducing socket mark socket option.
17 years ago
sockios.h
…
spinlock.h
…
stat.h
[XTENSA] Clean up stat structs.
17 years ago
statfs.h
…
string.h
…
syscall.h
…
system.h
[XTENSA] Add support for configurable registers and coprocessors
17 years ago
termbits.h
[patch 1/2] Xtensa: enable arbitary tty speed setting ioctls
18 years ago
termios.h
[patch 1/2] Xtensa: enable arbitary tty speed setting ioctls
18 years ago
thread_info.h
[XTENSA] Add support for configurable registers and coprocessors
17 years ago
timex.h
[XTENSA] Add volatile keyword to asm statements accessing counter registers
17 years ago
tlb.h
add mm argument to pte/pmd/pud/pgd_free
17 years ago
tlbflush.h
remove unused flush_tlb_pgtables
18 years ago
topology.h
…
types.h
xtensa: types: use <asm-generic/int-*.h> for the xtensa architecture
17 years ago
uaccess.h
[XTENSA] Fix clobbered register in asm macro
17 years ago
ucontext.h
…
unaligned.h
kernel: Move arches to use common unaligned access
17 years ago
unistd.h
fix xtensa timerfd breakage
17 years ago
user.h
…
vga.h
…
xor.h
…