summaryrefslogtreecommitdiff
path: root/scripts/headers.sh
blob: 978b42b3acd7e59519bdc74540a180da25e8c607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/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


ead.c?h=linux-6.12.y&id=35b51afd23c98e2f055ac563aca36173a12588b9'>Merge tag 'riscv-for-linus-5.19-mw0' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds 2022-05-24Merge tag 'folio-5.19' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds 2022-05-23Merge tag 'for-5.19/block-2022-05-22' of git://git.kernel.dk/linux-blockLinus Torvalds 2022-05-09mm,fs: Remove aops->readpageMatthew Wilcox (Oracle) 2022-05-09fs: Introduce aops->read_folioMatthew Wilcox (Oracle) 2022-05-08readahead: Use a folio in read_pages()Matthew Wilcox (Oracle) 2022-05-05mm/readahead: Fix readahead with large foliosMatthew Wilcox (Oracle) 2022-05-02blk-cgroup: remove unneeded includes from <linux/blk-cgroup.h>Christoph Hellwig 2022-04-26riscv: compat: syscall: Add compat_sys_call_table implementationGuo Ren 2022-04-01readahead: Update commentsMatthew Wilcox (Oracle) 2022-04-01mm: remove the skip_page argument to read_pagesChristoph Hellwig 2022-04-01mm: remove the pages argument to read_pagesChristoph Hellwig 2022-04-01fs: Remove ->readpages address space operationMatthew Wilcox (Oracle) 2022-04-01readahead: Remove read_cache_pages()Matthew Wilcox (Oracle) 2022-03-22Merge tag 'folio-5.18b' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds 2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds 2022-03-22remove inode_congested()NeilBrown 2022-03-22mm: improve cleanup when ->readpages doesn't process all pagesNeilBrown 2022-03-22mm: document and polish read-ahead codeNeilBrown 2022-03-21mm/readahead: Switch to page_cache_ra_orderMatthew Wilcox (Oracle) 2022-03-21mm/readahead: Add large folio readaheadMatthew Wilcox (Oracle) 2022-03-15fs: Turn do_invalidatepage() into folio_invalidate()Matthew Wilcox (Oracle) 2022-01-04readahead: Convert page_cache_ra_unbounded to foliosMatthew Wilcox (Oracle) 2022-01-04readahead: Convert page_cache_async_ra() to take a folioMatthew Wilcox (Oracle) 2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds 2021-11-06mm/readahead.c: fix incorrect comments for get_init_ra_sizeLin Feng 2021-10-18mm: remove spurious blkdev.h includesChristoph Hellwig 2021-07-13mm: Protect operations adding pages to page cache with invalidate_lockJan Kara 2021-04-23mm: Implement readahead_control pageset expansionDavid Howells 2021-04-23mm/readahead: Handle ractl nr_pages being modifiedMatthew Wilcox (Oracle) 2021-04-23mm/filemap: Pass the file_ra_state in the ractlMatthew Wilcox (Oracle) 2020-10-17mm: use limited read-ahead to satisfy readJens Axboe 2020-10-16mm/readahead: pass a file_ra_state into force_page_cache_raDavid Howells 2020-10-16mm/readahead: add page_cache_sync_ra and page_cache_async_raMatthew Wilcox (Oracle) 2020-10-16mm/readahead: pass readahead_control to force_page_cache_raDavid Howells 2020-10-16mm/readahead: make ondemand_readahead take a readahead_controlDavid Howells 2020-10-16mm/readahead: make do_page_cache_ra take a readahead_controlMatthew Wilcox (Oracle) 2020-10-16mm/readahead: make page_cache_ra_unbounded take a readahead_controlMatthew Wilcox (Oracle) 2020-10-16mm/readahead: add DEFINE_READAHEADMatthew Wilcox (Oracle)