https://github.com/torvalds/linux
Revision 7597cdc066313bfd211cca2f9252dfeb41271391 authored by Ingo Molnar on 20 September 2016, 14:56:56 UTC, committed by Ingo Molnar on 20 September 2016, 14:56:56 UTC
Pull EFI fixes from Matt Fleming:

 * Fix a boot hang on large memory machines (multiple terabyte) caused
   by type conversion errors in the x86 PAT code (Matt Fleming)

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2 parent s d2ffb01 + 1297667
Raw File
Tip revision: 7597cdc066313bfd211cca2f9252dfeb41271391 authored by Ingo Molnar on 20 September 2016, 14:56:56 UTC
Merge tag 'efi-urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi into efi/urgent
Tip revision: 7597cdc
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
		;;
	*)
		if [ -d ${srctree}/arch/${arch} ]; then
			do_command $1 ${arch}
		fi
		;;
	esac
done
back to top