Revert "tty: hvc: Fix data abort due to race in hvc_open"
[linux/fpc-iii.git] / arch / x86 / include / asm / geode.h
blob3c7267ef4a9e21eb0de666947f9bfe7181595e09
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * AMD Geode definitions
4 * Copyright (C) 2006, Advanced Micro Devices, Inc.
5 */
7 #ifndef _ASM_X86_GEODE_H
8 #define _ASM_X86_GEODE_H
10 #include <asm/processor.h>
11 #include <linux/io.h>
12 #include <linux/cs5535.h>
14 static inline int is_geode_gx(void)
16 return ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC) &&
17 (boot_cpu_data.x86 == 5) &&
18 (boot_cpu_data.x86_model == 5));
21 static inline int is_geode_lx(void)
23 return ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) &&
24 (boot_cpu_data.x86 == 5) &&
25 (boot_cpu_data.x86_model == 10));
28 static inline int is_geode(void)
30 return (is_geode_gx() || is_geode_lx());
33 #endif /* _ASM_X86_GEODE_H */