mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 09:24:37 +07:00
390db010c9
The current comment indicates it's checking for a 32-bit build environment, but it actually checks for a 64-bit environment. Fix this. Signed-off-by: Martin Kelly <martkell@amazon.com> Acked-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
19 lines
247 B
C
19 lines
247 B
C
/*
|
|
* Trivial program to check that we have a valid 64-bit build environment.
|
|
* Copyright (c) 2015 Andy Lutomirski
|
|
* GPL v2
|
|
*/
|
|
|
|
#ifndef __x86_64__
|
|
# error wrong architecture
|
|
#endif
|
|
|
|
#include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
printf("\n");
|
|
|
|
return 0;
|
|
}
|