Staging
v0.8.1
https://github.com/torvalds/linux
Revision 7bf811a8744d1eacff556bb7decc9c606b1537c2 authored by Thomas Gleixner on 25 March 2011, 15:13:38 UTC, committed by Thomas Gleixner on 29 March 2011, 12:48:10 UTC
The core code provides the same functionality when the
IRQCHIP_EOI_IF_HANDLED flag is set for the irq chip.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent a28ab38
Raw File
Tip revision: 7bf811a8744d1eacff556bb7decc9c606b1537c2 authored by Thomas Gleixner on 25 March 2011, 15:13:38 UTC
powerpc: cpm2_pic: Use IRQCHIP_EOI_IF_HANDLED
Tip revision: 7bf811a
headers.sh
#!/bin/sh
# Run headers_$1 command for all suitable architectures

# Stop on error
set -e

do_command()
{
	if [ -f ${srctree}/arch/$2/include/asm/Kbuild ]; then
		make ARCH=$2 KBUILD_HEADERS=$1 headers_$1
	else
		printf "Ignoring arch: %s\n" ${arch}
	fi
}

archs=${HDR_ARCH_LIST:-$(ls ${srctree}/arch)}

for arch in ${archs}; do
	case ${arch} in
	um)        # no userspace export
		;;
	cris)      # headers export are known broken
		;;
	*)
		if [ -d ${srctree}/arch/${arch} ]; then
			do_command $1 ${arch}
		fi
		;;
	esac
done


back to top