diff --git a/.github/workflows/build-check_aarch64.yml b/.github/workflows/build-check_aarch64.yml new file mode 100644 index 0000000000000..e14c8e43c48f1 --- /dev/null +++ b/.github/workflows/build-check_aarch64.yml @@ -0,0 +1,34 @@ +name: aarch64 CI +on: + pull_request_target: + branches: + - '**' + - '!mainline' + +jobs: + kernel-build-job: + runs-on: + labels: kernel-build-arm64 + container: + image: rockylinux:8 + env: + ROCKY_ENV: rocky8 + ports: + - 80 + options: --cpus 8 + steps: + - name: Install tools and Libraries + run: | + dnf groupinstall 'Development Tools' -y + dnf install --enablerepo=devel bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y + - name: Checkout code + uses: actions/checkout@v4 + with: + ref: "${{ github.event.pull_request.head.sha }}" + fetch-depth: 0 + - name: Build the Kernel + run: | + git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree + cp configs/kernel-4.18.0-aarch64.config .config + make olddefconfig + make -j8 diff --git a/.github/workflows/push-check_x86_64.yml b/.github/workflows/build-check_x86_64.yml similarity index 86% rename from .github/workflows/push-check_x86_64.yml rename to .github/workflows/build-check_x86_64.yml index 2aa1eb2ed4f18..b349bf54ecfb4 100644 --- a/.github/workflows/push-check_x86_64.yml +++ b/.github/workflows/build-check_x86_64.yml @@ -1,6 +1,6 @@ -name: CI +name: x86_64 CI on: - push: + pull_request_target: branches: - '**' - '!mainline' @@ -24,10 +24,11 @@ jobs: - name: Checkout code uses: actions/checkout@v4 with: + ref: "${{ github.event.pull_request.head.sha }}" fetch-depth: 0 - name: Build the Kernel run: | - git config --global --add safe.directory /__w/kernel-src-git/kernel-src-git + git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree cp configs/kernel-4.18.0-x86_64.config .config make olddefconfig make -j8 diff --git a/include/linux/sched.h b/include/linux/sched.h index 6a0b77b2b368e..92bbe7d4dab5f 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -677,7 +677,7 @@ struct kmap_ctrl { #endif }; -struct task_struct; +struct task_struct; // oops only breaks struct task_struct_rh { /* Empty if CONFIG_POSIX_CPUTIMERS=n */ @@ -700,7 +700,7 @@ struct task_struct_rh { #endif /* pointer back to the main task_struct */ - struct task_struct *task_struct; + struct task_struct *task_struct; // ooops only break; int trc_reader_nesting; int trc_ipi_to_cpu; union rcu_special trc_reader_special;