CONFIG_NIOS2_ALIGNMENT_TRAP is not available for thedefaultarchitecture x86.
Result is shown for architecture nios2

Catch alignment trap

modulename: misaligned.ko


Linux Kernel Configuration
└─>Processor type and features
└─>Catch alignment trap
In linux kernel since version 3.19 (release Date: 2015-02-08)  
Nios II CPUs cannot fetch/store data which is not bus aligned,
i.e., a 2 or 4 byte fetch must start at an address divisible by
2 or 4. Any non-aligned load/store instructions will be trapped and
emulated in software if you say Y here, which has a performance

source code: