forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
datapath: Improve robustness of this_cpu_ptr definition in compat layer
Current autoconfig detection logic for HAVE_PER_CPU_PTR is not robust. Depends on linux kernel version, the definition can be in either linux/percpu.h or asm/percpu.h Turns out it is simpler and safer to handle missing percpu.h definitions in linux/percpu.h rather than asm/percpu.h. With this change, there is no need for the autoconfig detection logic above. Signed-off-by: Andy Zhou <[email protected]> Acked-by: Pravin B Shelar <[email protected]>
- Loading branch information
1 parent
3bacde2
commit 00e01dd
Showing
4 changed files
with
4 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters