Skip to content

Compile fixes for disabled config opts.

Paul Gortmaker linux-rt-users 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3compat_rwsem: fix compile failure for when PREEMPT_RT is disabled.include/asm-x86/rwsem.h+1 -10 replies
2/3rt bit spinlocks: fix compile failure for !CONFIG_PREEMPT_RTinclude/linux/bit_spinlock.h include/linux/spinlock.h+3 -10 replies
3/3rt: sysctl compile fix for when profiling is offkernel/sysctl.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Compile fixes for disabled config opts.

The following patches fix some basic compile failures that appear when you change the kernel configuration to disable various options that would be normally enabled by most folks using the preempt_rt patch set (26rt9).

However, it may be useful in some situations to be able to ask people to turn off "X" and recompile to try and get better data on a certain bug/problem, so having the ability to compile with different configs disabled is probably worthwhile.

Within each patch, I've listed the parent patch of the broken out series in which it would make sense to fold the fix in, should that be what you want to do with these. If that is what you want to do, then feel free to toss the patch headers/SOB line from these stand alone patches.

Thanks,
Paul.
---

0001-compat_rwsem-fix-compile-failure-for-when-PREEMPT_R.patch

 b/include/asm-x86/rwsem.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

0002-rt-bit-spinlocks-fix-compile-failure-for-CONFIG_PR.patch

 b/include/linux/bit_spinlock.h |    2 +-
 b/include/linux/spinlock.h     |    2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

0003-rt-sysctl-compile-fix-for-when-profiling-is-off.patch

 b/kernel/sysctl.c |    2 ++
 1 file changed, 2 insertions(+)